ports/102034: emulators/linux_base-fc4 library problems with
RELENG_6_1
Boris Samorodov
bsam at ipt.ru
Tue Aug 22 08:34:16 UTC 2006
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 at jes-2.demon.nl>
> To: bug-followup at freebsd.org, jes at 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 at jes-2.demon.nl:/usr/ports/emulators/linux_base-fc4# set | grep LD
> OLDPWD=3D/usr/ports/emulators/linux_base-8
> root at 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 at jes-2.demon.nl:/usr/ports/emulators/linux_base-fc4#
> _______________________________________________
> freebsd-emulation at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
> To unsubscribe, send any mail to "freebsd-emulation-unsubscribe at 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
More information about the freebsd-emulation
mailing list