Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Sun, 21 Jan 2007 16:41:16 +0300
From: Solar Designer <>
Subject: 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.


"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>
GPG key ID: 5B341F15  fp: B3FB 63F4 D7A3 BCCC 6F6E  FC55 A2FC 027C 5B34 1F15 - bringing security into open computing environments

Was I helpful?  Please give your feedback here:

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.