Linux executable picks up FreeBSD library over linux one and breaks

Yuri yuri at rawbw.com
Fri Nov 30 16:49:07 PST 2007


I am trying to run Linux version of Skype and am getting the following error:
/usr/home/yuri/skype/current/skype: error while loading shared libraries:
/usr/lib/librt.so.1: ELF file OS ABI 

File /usr/lib/librt.so.1 is FreeBSD library and
/usr/compat/linux/lib/librt.so.1 is Linux library with the same name
installed by linux_base-fc-4_10.

My LD_LIBRARY_PATH is set to /usr/compat/linux/lib:/usr/compat/linux/usr/lib.

Why FreeBSD version is being picked up even though it's not
in LD_LIBRARY_PATH?

Yuri


More information about the freebsd-hackers mailing list