Date: Thu, 24 May 2007 13:14:02 +0400 From: Boris Samorodov <bsam@ipt.ru> To: Olivier Nicole <on@cs.ait.ac.th> Cc: freebsd-questions@freebsd.org Subject: Re: 2 problems with shared libraries Message-ID: <00267813@srv.sem.ipt.ru> In-Reply-To: <200705240526.l4O5QlZE040167@banyan.cs.ait.ac.th> (Olivier Nicole's message of "Thu\, 24 May 2007 12\:26\:47 %2B0700 \(ICT\)") References: <200705240526.l4O5QlZE040167@banyan.cs.ait.ac.th>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 24 May 2007 12:26:47 +0700 (ICT) Olivier Nicole wrote: > $ ldconfig -r | grep libqt-mt.so.3 > 102:-lqt-mt.3 => /usr/X11R6/lib/libqt-mt.so.3 > $ ldd colorseg > colorseg: > libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x28279000) > libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x282e2000) > libpng.so.3 => /usr/lib/libpng.so.3 (0x28300000) > libdpstk.so.1 => /usr/X11R6/lib/libdpstk.so.1 (0x28323000) > libdps.so.1 => /usr/X11R6/lib/libdps.so.1 (0x2832b000) > libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x28374000) > libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x283c7000) > libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x283d7000) > libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x283e0000) > libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x283f8000) > libz.so.1 => /usr/lib/libz.so.1 (0x284f4000) > libpthread.so.0 => /lib/obsolete/linuxthreads/libpthread.so.0 (0x28507000) > libqt-mt.so.3 => not found > libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x2855b000) > libm.so.6 => /lib/obsolete/linuxthreads/libm.so.6 (0x28614000) > libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x2863a000) > libc.so.6 => /lib/obsolete/linuxthreads/libc.so.6 (0x28644000) > libdl.so.2 => /lib/libdl.so.2 (0x28763000) > /lib/ld-linux.so.2 (0x2825a000) > Why libqt-mt.so.3 is not found while it is listed by ldconfig? > Colorseg is a Linux executable that I got without source. Those libraries have (an undisplayed) prefix "/compat/linux". And there is no /compat/linux/usr/X11R6/lib/libqt-mt.so.3. This library is from qt3 rpm which we don't have currently at out ports tree. However you may try to install the port I wrote: ftp://ftp.ipt.ru/pub/download/linux-qt3.tar.bz2 # cp linux-qt3.tar.bz2 /usr/ports/x11-toolkits # cd /usr/ports/x11-toolkits # tar xyf linux-qt3.tar.bz2 # cd linux-qt3 # make install clean I've tested the port at tinderbox (build/install/deinstall) but can't test at run time -- there may be missed dependencies (though I hope it shouldn't happen). Any feedback is appreciated. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00267813>