On 01/19/2014 07:40 AM, Juergen Beisert wrote:
You should re-run the link with enabled verbosity, to
get an idea how the
linker gets called. The path may not find its way into the linker command
line.
Ok how?
The "-march=x86-64" suggests you build for a
64 bit system. Is the
libdbus-tqt-1 also 64 bit?
jbe
Yes,
tde-dbus-1-tqt-14.0.0-1-x86_64.pkg.tar.xz
tde-dbus-tqt-14.0.0-1-x86_64.pkg.tar.xz
This sounds like a problem that has been experienced before and was fixed by
patching the end of a cmake file, but I do not recall the specifics. Any one
recall where/what cmake file is responsible for including libdbus-tqt-1?
The link.txt command makes clear it is not being found:
/usr/bin/c++ -fPIC -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector
--param=ssp-buffer-size=4 -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL
-DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include
tqt.h -I/opt/tqt3/include -I/usr/include/tqt -DQT_NO_ASCII_CAST
-DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION
-DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -g -Wl,--no-undefined -shared
-Wl,-soname,libtdeinit_kicker.so -o libtdeinit_kicker.so
CMakeFiles/tdeinit_kicker-shared.dir/dummy.cpp.o -L/opt/tqt3/lib
-Wl,-whole-archive core/libkicker_core.a -Wl,-no-whole-archive
buttons/libkicker_buttons.a ui/libkicker_ui.a
../libkicker/libkickermain.so.1.0.0 /opt/trinity/lib/libtdeabc.so.1.2.0
/opt/trinity/lib/libtdeutils.so.1.2.0 ../../libkonq/libkonq.so.4.2.0
../../tdmlib/libdmctl.a -lXau interfaces/libkickoffsearch_interfaces.so.0.0.0
-ldbus-tqt-1 -ldbus-1 /opt/trinity/lib/libvcard.so.0.0.0
/opt/trinity/lib/libtderesources.so.1.2.0 /opt/trinity/lib/libtdeparts.so.2.1.0
/opt/trinity/lib/libtdeio.so.14.0.0 /opt/trinity/lib/libtdeui.so.14.0.0
-lfreetype -lfontconfig /opt/trinity/lib/libtdesu.so.14.0.0 -lutil
/opt/trinity/lib/libtdewalletclient.so.1.0.1
/opt/trinity/lib/libtdecore.so.14.0.0 /opt/trinity/lib/libDCOP.so.14.0.0
/opt/trinity/lib/libtdefx.so.14.0.0 -ltqt -ltqt-mt -lXrender -lX11 -lc -lz -lidn
-lXcomposite -lICE -lSM -lacl
-Wl,-rpath,/opt/tqt3/lib:/build/tde-tdebase/src/build/kicker/libkicker:/opt/trinity/lib:/build/tde-tdebase/src/build/libkonq:/build/tde-tdebase/src/build/kicker/kicker/interfaces:
It has -L/opt/tqt3/lib but NOT -L/opt/trinity/lib.
Where else can I manually tell cmake to add -L/opt/trinity/lib to the link.txt list?
--
David C. Rankin, J.D.,P.E.