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


     Re: [nocol-users] error in loading shared libraries: libcrypt.so.1

Thanks for the response.  This is what I get with ldd:

[root@secure /root]# ldd /usr/bin/perl
        libnsl.so.1 => /lib/libnsl.so.1 (0x40017000)
        libdl.so.2 => /lib/libdl.so.2 (0x4002e000)
        libm.so.6 => /lib/libm.so.6 (0x40031000)
        libc.so.6 => /lib/libc.so.6 (0x4004d000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x40140000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

This is what I get when I do "locate libcrypt":

[root@secure /root]# locate libcrypt

What would one recommend I do under these circumstances?  Thanks, much.


Russell Van Tassell wrote:

> On Sat, Mar 25, 2000 at 01:26:48PM -0800, Ron Parker wrote:
> > Hello.  What is this, and how do I resolve it?  Thanks.
> >
> > Subject:
> >         Cron <nocol@secure> [ -x /usr/nocol/bin/genweb.pl ] &&
> >         /usr/nocol/bin/genweb.pl >/dev/null
> >
> > perl: error in loading shared libraries: libcrypt.so.1: cannot open
> > shared object file: No such file or directory
> Sounds like your perl binary was dynamically linked with the crypt
> libraries yet your machine doesn't have it installed -- you might
> be able to verify this by doing an "ldd" on your perl binary.  (What
> sort of machine are you on?)
> The "easiest" way to fix this is probably to put crypt libraries out on
> the box, though some people like to strip things like this out when they
> harden an operating system.  Second alternative is to recompile perl and
> make sure libcrypt is statically linked in...
> (Some of the perl gurus might be of better help, though)
> Russell
> --
> Russell M. Van Tassell
> russell@loosenut.com
> Do not read this fortune under penalty of law.  Violators will be
> prosecuted.  (Penal Code sec. 2.3.2 (II.a.))

Ron Parker
Software Creations            http://www.scbbs.com
TradeWinds Publishing         http://www.intl-trade.com
TradePoint Los Angeles        http://www.tradepointla.org
SiteDirector Security Server  http://livepublish.scbbs.com
Civil War Online Library      http://civilwar.scbbs.com