[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Linking problem
From:       Ralf Hoelzer <ralf () well ! com>
Date:       2003-06-30 14:56:06
[Download RAW message or body]

Can somebody explain this to me? I compiled qt in its own directory (in this 
case "/space/build/kde32/qt-x11-free-3.2.0-snapshot-20030628". Then I created 
a symlink from there to /usr/lib/q3. Now I upgraded the qt snapshot in a new 
directory (/space/build/kde32/qt-x11-free-3.2.0-snapshot-20030630). I changed
the symlink to point to the new directory.

My ld.so.conf contains /usr/lib/qt3 and I ran ldconfig again. Configure finds 
the library but if I try to build something, it fails:

/bin/sh ../../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor -
Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -
ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-
subscripts -fno-builtin -g -O2 -Wformat-security -Wmissing-format-attribute -
fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -
DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION    -o 
kdict_panelapplet.la.closure kdict_panelapplet_la_closure.lo -L/usr/X11R6/lib 
-L/usr/lib/qt3/lib -L/opt/kde32/lib  -avoid-version -module -no-undefined  -
R /opt/kde32/lib -R /usr/lib/qt3/lib -R /usr/X11R6/lib  -module kdictapplet.
lo -lkio -lkdeui
libtool: link: cannot find the library `/space/build/kde32/qt-x11-free-3.2.0-
snapshot-20030628/lib/libqt-mt.la'

Why is libtool not following the updated symlink from /usr/lib/qt3 to the new 
location? I even deleted ld.so.cache and ran ldconfig but it didn't help.

regards,
Ralf
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic