> *-Michael Laing <[EMAIL PROTECTED]>
> |
> | Can someone tell me what package I need in order to get the 'crypt'
> | function?
> |
> | The man page is straightforward, but the link fails because it cannot
> | find the entry point.
> |
> | I have searched around on the debian web site and in dselect but it is
> | not obvious what library has this routine.
> 
> You need the package libc6-dev. It contains (among other things) libcrypt.
> 
> --
> [EMAIL PROTECTED]   [-: .elOle. :-]   [EMAIL PROTECTED]
> 
Thanks for the hint. I have libc6-dev installed but upon review of the
docs I found that because of US DES export restrictions, the crypt
function is in a separate library (at least in the US) that must be
explicitly linked using -lcrypt. That worked for me.

Michael Laing

Reply via email to