Phillip Morgan wrote:
> Further to the dilemma regarding not being able to use perl scripts with
> the crypt() function in perl 5.6.1, the problem seems to be that despite
> the fact that libcrypt does exist (/lib/libcrypt-2.0.7.so, or the
> symbolic link /lib/libcrypt.so.1 which points to the 2.0.7.so file),
> perl configure says it cannot find it.
>
> 'ld -lcrypt' says no such file or directory.
Is there a libcrypt.so symlink? If not, the linker (ld) won't find it.
NB: it may be in /usr/lib rather than /lib.
The build-time linker (/usr/bin/ld) looks for libraries using the
unversioned name (e.g. -lfoo looks for libfoo.so or libfoo.a).
The run-time linker (/lib/ld-linux.so.*) uses the name embedded in the
executable (as displayed by "ldd"), which normally includes the major
version number (e.g. libfoo.so.1).
--
Glynn Clements <[EMAIL PROTECTED]>
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs