[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: crypt function



> *-Michael Laing <mpl@flni.com>
> |
> | 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.
> 
> --
> olet@ifi.uio.no   [-: .elOle. :-]   olet@debian.org
> 
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 to: