RPATH order problem
David Faure
faure at kde.org
Wed May 2 13:05:14 CEST 2007
Hi Brad,
thanks for your answer.
On Tuesday 01 May 2007, Brad King wrote:
> Please post the KDELibsDependencies.cmake file from the kdelibs you're using.
http://web.davidfaure.fr/tmp/KDELibsDependencies.cmake
> Also please build konqueror and kwin with
> make VERBOSE=1
> and post the link lines used to produce the binaries.
konqueror:
cd /d/kde/build/4/kdebase/apps/konqueror && /d/other/inst/icecream/bin/c++ -pipe -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -fno-check-new -fno-common -fno-threadsafe-statics -fvisibility=hidden -g3 -fno-inline -fPIC "CMakeFiles/konqueror.dir/konqueror_dummy.o" -o konqueror -rdynamic -L/usr/local/lib -L/d/kde/build/4/kdebase/lib -L/d/kde/inst/kde4/lib -L/d/kde/src/4/qt-copy/lib -L/usr/lib64 -L/d/kde/inst/kdesupport_trunk/lib -L/lib64 -lkdeinit_konqueror -lkdeinit_konqueror -lkutils -lkonq -lkdecore -lQtXml -lkparts -lkio -lQt3Support -lkdeui -lQtSvg -lSM -lICE -lX11 -lXext -lXft -lXau -lXdmcp -lXpm -lkdefx -lXtst -lstreamanalyzer -lstreams -lsolid -lkdesu -lfam -lacl -lattr -lkde3support -lQtXml -lQtGui -lkdefx -lkdecore -lQtCore -lpthread -lQtNetwork -lQtDBus -lutil -lz -lbz2 -lresolv -lkdesu -Wl,-rpath,/d/kde/inst/kde4/lib:/usr/local/lib:/d/kde/inst/kde4/lib:/d/kde/src/4/qt-copy/lib:/usr/lib64:/d/kde/inst/kdesupport_trunk/lib:/lib64
The rpath order is correct.
kwin:
cd /d/kde/build/4/kdebase/workspace/kwin && /d/other/inst/icecream/bin/c++ -pipe -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -fno-check-new -fno-common -fno-threadsafe-statics -fvisibility=hidden -g3 -fno-inline -fPIC "CMakeFiles/kwin.dir/kwin_dummy.o" -o kwin -rdynamic -L/usr/local/lib -L/d/kde/build/4/kdebase/lib -L/usr/lib64 -L/d/kde/src/4/qt-copy/lib -L/d/kde/inst/kde4/lib -lkdeinit_kwin -lkdeinit_kwin -lSM -lICE -lX11 -lXext -lXft -lXau -lXdmcp -lXpm -lkdecorations -lQtSvg -lkdecore -lQtXml -lkdefx -lXtst -lkdeui -lkwineffects -lQtCore -lpthread -lQtNetwork -lQtDBus -lutil -lz -lbz2 -lresolv -lkdecore -lQtGui -lSM -lICE -lX11 -lXext -lXft -lXau -lXdmcp -lXpm -lQt3Support -lGL -ldl -lXrandr -lXcomposite -lXdamage -lXrender -lXfixes -Wl,-rpath,/d/kde/inst/kde4/lib:/usr/local/lib:/usr/lib64:/d/kde/src/4/qt-copy/lib:/d/kde/inst/kde4/lib
/usr/lib64 is before qt-copy.
--
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
More information about the Kde-buildsystem
mailing list