Re: undefined reference to `crypt'
On Sun, Jan 21, 2007 at 08:10:28AM -0500, Michael Patrick wrote:
> I am trying to install popa3d on a linux Fedora4 new installation and I am getting the following error:
undefined reference to `crypt'
> I see in the Makefile file that it needs glibc installed, and I confirmed that it is.
> Any suggestions?
You've managed to misread the documentation (INSTALL) and the comment in
the Makefile. glibc is an essential system component, your system would
not even boot up without it - so it is not a question whether you have
glibc installed.
INSTALL says:
"Possibly edit the Makefile (uncomment "-lcrypt" for Linux with glibc, ..."
It means that you should do just that - uncomment a line in the Makefile.
This is referring to:
# Linux with glibc, FreeBSD, NetBSD
#LIBS += -lcrypt
So you need to edit it to be:
# Linux with glibc, FreeBSD, NetBSD
LIBS += -lcrypt
--
--
Alexander Peslyak <solar at openwall.com>
GPG key ID: 5B341F15 fp: B3FB 63F4 D7A3 BCCC 6F6E FC55 A2FC 027C 5B34 1F15
http://www.openwall.com - bringing security into open computing environments
Was I helpful? Please give your feedback here: http://rate.affero.net/solar