From owner-freebsd-emulation@FreeBSD.ORG Tue Aug 22 08:34:16 2006 Return-Path: X-Original-To: freebsd-emulation@FreeBSD.org Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 28D5E16A4E2 for ; Tue, 22 Aug 2006 08:34:16 +0000 (UTC) (envelope-from bsam@bsam.ru) Received: from mail.kuban.ru (mail.kuban.ru [62.183.66.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id ABED443DFA for ; Tue, 22 Aug 2006 08:34:04 +0000 (GMT) (envelope-from bsam@bsam.ru) Received: from bsam.ru ([83.239.48.131]) by mail.kuban.ru (8.9.1/8.9.1) with ESMTP id k7M8XlGN046070 for ; Tue, 22 Aug 2006 12:33:58 +0400 (MSD) Received: from bsam by bsam.ru with local (Exim 4.62 (FreeBSD)) (envelope-from ) id 1GFRgX-0000EC-M4; Tue, 22 Aug 2006 12:32:33 +0400 To: jes References: <200608220730.k7M7UMbm036179@freefall.freebsd.org> From: Boris Samorodov Date: Tue, 22 Aug 2006 12:32:33 +0400 In-Reply-To: <200608220730.k7M7UMbm036179@freefall.freebsd.org> (jes@jes-2.demon.nl's message of "Tue, 22 Aug 2006 07:30:22 GMT") Message-ID: <68219662@bsam.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: Boris Samorodov Cc: freebsd-emulation@FreeBSD.org Subject: Re: ports/102034: emulators/linux_base-fc4 library problems with RELENG_6_1 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Aug 2006 08:34:16 -0000 On Tue, 22 Aug 2006 07:30:22 GMT jes wrote: > The following reply was made to PR ports/102034; it has been noted by GNATS. > From: jes > To: bug-followup@freebsd.org, jes@jes-2.demon.nl > Cc: > Subject: Re: ports/102034: emulators/linux_base-fc4 library problems with RELENG_6_1 > Date: Tue, 22 Aug 2006 09:21:13 +0200 > I last cvsupped the ports tree (capture of cvsup output in this file) > > -rw-r--r-- 1 root wheel 38174 Aug 14 20:31 ports.cvsupdate > > This is with a ports-all cvsup file > Today (22 Aug) I did a pkg_delete of all linux packages, > umount /usr/compat/linux/proc > rm -rf /compat/linux > I then went to /usr/ports/emulators/linux_base-fc4 and did > make distclean > > make install > > > After this I checked for libpthreads with a > find / -name libpthread\* | tee /tmp/libpthread.find > > This produced: > > /usr/lib/libpthread.a > /usr/lib/libpthread_p.a > /usr/lib/libpthread.so.1 (note: this one is suspicious as you have [1].) > /usr/lib/libpthread.so > /usr/lib/libpthread.so.0 Show pls "ls -l /usr/lib/libpthread.so.0". I asked about this one. Did you create it intentionally and (if yes, what was the purpose)? Did you (and how) upgrade your system? Which OS version was initially installed at your PC? Anyway, this file either should exist at /usr/local/lib/compat or it shouldn't exist at all. Try to (tempoparily) remove it and check up linux_base install. > /usr/lib/libpthread.so.2 > /usr/local/lib/compat/libpthread.so.1 [1] > /usr/src/lib/libpthread > /usr/src/lib/libthread_db/arch/alpha/libpthread_md.c > /usr/src/lib/libthread_db/arch/amd64/libpthread_md.c > /usr/src/lib/libthread_db/arch/i386/libpthread_md.c > /usr/src/lib/libthread_db/arch/ia64/libpthread_md.c > /usr/src/lib/libthread_db/arch/sparc64/libpthread_md.c > /usr/src/lib/libthread_db/libpthread_db.c > /usr/src/lib/libthread_db/libpthread_db.h > /usr/compat/linux/lib/obsolete/linuxthreads/libpthread-0.10.so > /usr/compat/linux/lib/obsolete/linuxthreads/libpthread.so.0 > /usr/compat/linux/lib/libpthread-2.3.6.so > /usr/compat/linux/lib/libpthread.so.0 > /usr/obj/usr/src/tmp/usr/lib/libpthread.a > /usr/obj/usr/src/tmp/usr/lib/libpthread.so.2 > /usr/obj/usr/src/tmp/usr/lib/libpthread.so > /usr/obj/usr/src/lib/libpthread > /usr/obj/usr/src/lib/libpthread/libpthread.a > /usr/obj/usr/src/lib/libpthread/libpthread.so > /usr/obj/usr/src/lib/libpthread/libpthread.so.2 > /usr/obj/usr/src/lib/libpthread/libpthread_p.a > /usr/obj/usr/src/lib/libthread_db/libpthread_db.o > /usr/obj/usr/src/lib/libthread_db/libpthread_md.o > /usr/obj/usr/src/lib/libthread_db/libpthread_db.So > /usr/obj/usr/src/lib/libthread_db/libpthread_md.So > /usr/obj/usr/src/lib/libthread_db/libpthread_db.po > /usr/obj/usr/src/lib/libthread_db/libpthread_md.po > /usr/ports/emulators/linux_base-fc4/work/lib/libpthread-2.3.6.so > /usr/ports/emulators/linux_base-fc4/work/lib/libpthread.so.0 > /usr/ports/emulators/linux_base-fc4/work/lib/obsolete/linuxthreads/libpt= > hread-0.10.so > /usr/ports/emulators/linux_base-fc4/work/lib/obsolete/linuxthreads/libpt= > hread.so.0 > /tmp/libpthread.find > > So I have to conclude that the libpthread.so.0 was installed by = > > linux_base-fc4 > > And it still fails the same way: > root@jes-2.demon.nl:/usr/ports/emulators/linux_base-fc4# set | grep LD > OLDPWD=3D/usr/ports/emulators/linux_base-8 > root@jes-2.demon.nl:/usr/ports/emulators/linux_base-fc4# = > > /usr/compat/linux/bin/ls > /usr/compat/linux/bin/ls: error while loading shared libr > > aries: /usr/lib/libpthread.so.0: ELF file OS ABI invalid > root@jes-2.demon.nl:/usr/ports/emulators/linux_base-fc4# > _______________________________________________ > freebsd-emulation@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-emulation > To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@freebsd.org" WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve