Question on undefined reference to 'crypt'

Darren Tucker dtucker at zip.com.au
Wed Jun 16 09:24:27 EST 2004


Amba giri wrote:
> I have openssl-0.9.7d installed and when I attempt a make install on SSH(v3.8p1), I get the following error:
> .../openbsd-compat/xcrypt.c(76): undefined reference to 'crypt'
> 
> Can anyone help me get past this problem ?

Depends on what platform you're using, most likely you just need to add 
"--with-ldflags=-lcrypt" to you configure line.

If that fixes it, tell us what your platform is and what ./config.guess 
reports and we can make configure do it automatically.

You might like to use 3.8.1p1 rather than 3.8p1, it's newer and 
(probably :-) has a few less bugs.

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
     Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.




More information about the openssh-unix-dev mailing list