[mythtv-users] Why can't loader find this library? It's there.
David Haertig
davidhaertig at earthlink.net
Tue Jan 3 02:49:59 UTC 2006
Getting an error during make (loader can't find qt-mt):
> g++ -shared -Wl,-soname,libmythavcodec-0.18.1.so.0 -o libmythavcodec-0.18.1.so.0.18.1 ...
> ... -L/usr/share/qt3/lib -L/usr/X11R6/lib -lqt-mt ...
> /usr/bin/ld: cannot find -lqt-mt
But given the command includes "-L /usr/share/qt3/lib"
and tries to load the qt library with "-lqt-mt" ...
... then it should be able to find /usr/share/qt3/lib/libqt-mt.s0...
if that file is there.
It is (see below). It's a symlink up to the actual file in /usr/lib.
So why the loader error? I'm confused.
> # cd /usr/share/qt3/lib
> # pwd
> /usr/share/qt3/lib
> # ls -l *qt-mt*
> lrwxrwxrwx 1 root root 30 2005-12-30 11:02 libqt-mt.so.3 -> ../../../lib/libqt-mt.so.3.3.5
> lrwxrwxrwx 1 root root 30 2005-12-30 11:02 libqt-mt.so.3.3 -> ../../../lib/libqt-mt.so.3.3.5
> # ls -l ../../../lib/*qt-mt*
> lrwxrwxrwx 1 root root 17 2005-12-30 11:02 ../../../lib/libqt-mt.so.3 -> libqt-mt.so.3.3.5
> lrwxrwxrwx 1 root root 17 2005-12-30 11:02 ../../../lib/libqt-mt.so.3.3 -> libqt-mt.so.3.3.5
> -rw-r--r-- 1 root root 8242800 2005-12-01 13:49 ../../../lib/libqt-mt.so.3.3.5
> #
More information about the mythtv-users
mailing list