*BSD News Article 81995


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.eng.convex.com!newshost.convex.com!newsgate.duke.edu!news.mathworks.com!uunet!in3.uu.net!news.interactive.net!onyx.interactive.net!not-for-mail
From: Chris Mauritz <ritz@interactive.net>
Subject: Re: Undefined call to _crypt
Content-Type: text/plain; charset=US-ASCII
X-Nntp-Posting-User: ritz
Sender: news@interactive.net (System Administrator)
Content-Transfer-Encoding: Quoted-Printable
Organization: IBS Interactive, Inc.
Lines: 40
Message-ID: <E05sGn.2Kr@interactive.net>
References: <32749B2E.7713@digicity.net> <553ent$1do@uriah.heep.sax.de> <558lgg$1hs2@saluki-news.wham.siu.edu>
Mime-Version: 1.0
X-Trace: 846796630/3204
X-Nntp-Posting-Host: onyx.interactive.net
Date: Thu, 31 Oct 1996 21:17:11 GMT

Jim Dutton <jimd@dutton2.it.siu.edu> wrote:
:)In article <553ent$1do@uriah.heep.sax.de>,
:)	j@uriah.heep.sax.de (J Wunsch) writes:
:)>Damien Thorn <damien@digicity.net> wrote:
:)>
:)>> Compiling as-is gives an error similar to the one in my
:)>> subject line.  When I add -lcrypt when compiling, the resulting
:)>> code works, but not properly.
:)>>=20

:)>
:)>Seems like you're suffering from some confusion between libscrypt and
:)>libdescrypt.  (libcrypt are simply symlinks to one of the above.)


:)I get a similar error when compiling INN1-5b1 under FreeBSD 2.05 and
:)Perl5.003, with PERL support in INN turned off.

:)In nnrpd.c:352: if (!EQ(pwd->pw_passwd, crypt(pass, pwd->pw_passwd)))

:)This results in,

:)  gcc -I../include -g -c loadave.c
:)  gcc -o nnrpd article.o group.o commands.o misc.o newnews.o nnrpd.o
:)  	perl.o post.o loadave.o ../libinn.a
:)=20=20=09
:)  nnrpd.c:352: Undefined symbol `_crypt' referenced from text segment
:)=20=20
:)Perhaps it is a missing include file ??

Are you even linking in the crypt lib?  That's what it
looks like.

Chris

--=20
Christopher Mauritz         | For info on internet access:
ritz@interactive.net        | finger/mail info@interactive.net OR
IBS Interactive, Inc.       | http://www.interactive.net/