Why does ld insist on /lib/libgcc_so.so1
skelter@spamcop.net
skelter@spamcop.net
Thu Dec 4 20:44:00 GMT 2003
Quoting lrtaylor@micron.com:
> What if you set LD_LIBRARY_PATH to the location of the correct
> libgcc_s.so.1?
Why! Then it seems to run just fine? You say the loader hits /lib and /usr/lib
first before going through the libraries described in /etc/ld.so.cache? Am I
just reading the documentation incorrectly? The man page of ld.so (8 in my
case) says the order is
DT_RPATH,LD_LIBRARY_PATH,DT_RUNPATH,/etc/ld.so.cache,trusted /lib & /usr/lib
I do not doubt that it works, or that you are correct. I am trying understand
why it does not work the way I thought it should
By the way, thank you for the help and what is your location and favorite beer?
-s
More information about the Gcc-help
mailing list