From owner-freebsd-questions@FreeBSD.ORG Thu May 24 09:12:55 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4901F16A469 for ; Thu, 24 May 2007 09:12:55 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [80.253.10.82]) by mx1.freebsd.org (Postfix) with ESMTP id EC05D13C448 for ; Thu, 24 May 2007 09:12:54 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from srv.sem.ipt.ru ([192.168.12.1] helo=ipt.ru) by mail.ipt.ru with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1Hr9NM-000KNJ-Kf; Thu, 24 May 2007 13:12:52 +0400 Received: from bsam by ipt.ru with local (Exim 4.63 (FreeBSD)) (envelope-from ) id 1Hr9OU-0001x0-IJ; Thu, 24 May 2007 13:14:02 +0400 To: Olivier Nicole References: <200705240526.l4O5QlZE040167@banyan.cs.ait.ac.th> From: Boris Samorodov Date: Thu, 24 May 2007 13:14:02 +0400 In-Reply-To: <200705240526.l4O5QlZE040167@banyan.cs.ait.ac.th> (Olivier Nicole's message of "Thu\, 24 May 2007 12\:26\:47 +0700 \(ICT\)") Message-ID: <00267813@srv.sem.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.99 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: 2 problems with shared libraries X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 May 2007 09:12:55 -0000 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