David Faure wrote: >objdump -p kdirmodeltest | grep PATH > RPATH > /d/kde/inst/kde4/lib:/d/kde/src/4/qt-copy/lib:/d/kde/inst/kde4/lib > >And now I can't remember: since RPATH has more priority over > LD_LIBRARY_PATH, how could those .shell wrapper scripts ever work at > all?
RPATH does *not* have priority over LD_LIBRARY_PATH. RPATH overrides it. You need RUNPATH for that to work. And your grep shows you don't have it. Blame your distribution for not enabling a 9-year-old flag in your linker. I've been complaining to mine for almost a year now and appears they've finally decided to turn it on. See: http://qa.mandriva.com/show_bug.cgi?id=28465 We should turn the new dtags on by default. Just add the linker flag (to gcc) -Wl,--enable-new-dtags and be done with it. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Kde-buildsystem mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-buildsystem
