Tried adding /usr/share/qt3/lib to /etc/ld.so.conf
and then ran ldconfig.  No improvement.

And yes, I know it's called a "linker" and not
a "loader".  It's hell getting old and watching
your brain turn to mush and start to do stupid
things!

;-)

Still looking for some help on the linker error.
My knowledge is a little rusty on how these libraries
are located.  I *thought* I knew, but obviously not!

Thanks.

David Haertig wrote:
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
#

_______________________________________________
mythtv-users mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

_______________________________________________
mythtv-users mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

Reply via email to