Linux vs. FreeBSD linker behaviour

Alexander Neundorf neundorf at kde.org
Fri May 19 22:02:05 CEST 2006


Hi,

can somebody please confirm the behjaiour I noticed ?

I compiled the executable with RPATH set pointing to all required libs. The 
libs were compiled without RPATH.

On linux this seems to work and all libs are found when running the 
executable.

It seems on FreeBSD this doesn't work. ldd shows e.g. libQtCore.so.4 two 
times, once it's found, and once it's not found. So I guess it's found for 
the executable which is linked with RPATH, but not found for the lib, which 
has an empty RPATH.

Do I interpret this correct or is there another explanation ?

Bye
Alex
-- 
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org                - http://www.kde.org
      alex AT neundorf.net               - http://www.neundorf.net


More information about the Kde-buildsystem mailing list