Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Aug 2006 12:32:33 +0400
From:      Boris Samorodov <bsam@ipt.ru>
To:        jes <jes@jes-2.demon.nl>
Cc:        freebsd-emulation@FreeBSD.org
Subject:   Re: ports/102034: emulators/linux_base-fc4 library problems with RELENG_6_1
Message-ID:  <68219662@bsam.ru>
In-Reply-To: <200608220730.k7M7UMbm036179@freefall.freebsd.org> (jes@jes-2.demon.nl's message of "Tue, 22 Aug 2006 07:30:22 GMT")
References:  <200608220730.k7M7UMbm036179@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <jes@jes-2.demon.nl>
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?68219662>