Shared Libraries

Paul Howarth paul at city-fan.org
Thu Apr 6 07:55:23 UTC 2006


On Thu, 2006-04-06 at 13:41 +0800, Ed Greshko wrote:
> Don Flinn wrote:
> > I recently upgraded to FC5 and a program that ran under FC4 has trouble
> > running under FC5.  The error message is:
> > 
> > [flinn at flinn bin]$ ./CmapTools
> > awk: error while loading shared libraries: libdl.so.2: cannot open
> > shared object file: No such file or directory
> > dirname: error while loading shared libraries: libc.so.6: cannot open
> > shared object file: No such file or directory
> > /bin/ls: error while loading shared libraries: librt.so.1: cannot open
> > shared object file: No such file or directory
> > basename: error while loading shared libraries: libc.so.6: cannot open
> > shared object file: No such file or directory
> > dirname: error while loading shared libraries: libc.so.6: cannot open
> > shared object file: No such file or directory
> > basename: error while loading shared libraries: libc.so.6: cannot open
> > shared object file: No such file or directory
> > grep: error while loading shared libraries: libc.so.6: cannot open
> > shared object file: No such file or directory
> > /home/flinn/IHMC_CmapTools/bin/../jre/bin/java: error while loading
> > shared libraries: libpthread.so.0: cannot open shared object file: No
> > such file or directory
> > 
> > The libraries exist as links in /lib.  What do I have to do to make
> > these libraries visible to the program?  I also tried to install another
> > product and got the same error.  Both programs are targeted at Linux.
> 
> According to the messages above it seems that "awk", "dirname", "grep"
> and other standard commands are reporting problems.  From that, I would
> deduce that "./CmapTools" is a script.  If you can run those commands
> outside of the script...then there is nothing wrong with those
> commands....but something in the script, probably an environment
> variable changing the way things are working.

And the environment variable is probably LD_ASSUME_KERNEL. See the "FC5
breaks Accelrys InsightII" thread from earlier today.

LinuxThreads support, as used by some old software, was deprecated in
FC4 and is no longer available in FC5.

Paul.




More information about the fedora-list mailing list