ports/102034: linux_base-fc4 library problems with RELENG_6_1
Jim Segrave
jes at jes-2.demon.nl
Mon Aug 14 21:21:14 UTC 2006
>Number: 102034
>Category: ports
>Synopsis: linux_base-fc4 library problems with RELENG_6_1
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Aug 14 21:20:11 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Jim Segrave
>Release: FreeBSD 6.1-RELEASE-p3 i386
>Organization:
>Environment:
System: FreeBSD jes-2.demon.nl 6.1-RELEASE-p3 FreeBSD 6.1-RELEASE-p3 #6: Mon Aug 14 21:45:04 CEST 2006 root at jes-2.demon.nl:/usr/obj/usr/src/sys/SONY-VAIO-ZX1 i386
Sony VAIO-ZX1 - x686 Centrino, 512MB ram, IDE hard disc, using ndis
with built in Intel 2200 wireless card
>Description:
I am running FreeBSD on a Sony VAIO-ZX1SP (Centrino, 512Mb Ram)
The current kernel is RELENG-6_1, cvsupped Aug 12 at 19:58 UTC.
The kernel configuration includes:
options COMPAT_LINUX
options LINPROCFS
I have completely pkg_delete'd any linux packages, then deleted
/compat/linux.
At startup, I run:
if [ -x /compat/linux/sbin/ldconfig ]; then
/compat/linux/sbin/ldconfig
fi
I updated ports with cvsup on 14 Aug at 18:31 UTC, then did an install
of /usr/ports/www/linux-opera, which also installed
linux-aspell-0.50.4.1_1
linux-expat-1.95.8
linux-fontconfig-2.2.3_5
linux-opera-9.01.20060728_1
linux-xorg-libs-6.8.2_5
linux_base-fc-4_7
My environment does not contain any LD_* settings.
sysctl -a " grep linux gives:
compat.linux.osname: Linux
compat.linux.osrelease: 2.4.2
compat.linux.oss_version: 198144
Yet, when I try to run linux opera I get:
jes at jes-2.demon.nl:/home/jes% printenv | grep LD_
jes at jes-2.demon.nl:/home/jes% linux-opera
ERROR: ld.so: object 'libjvm.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libawt.so' from LD_PRELOAD cannot be preloaded: ignored.
/usr/local/share/linux-opera/bin/opera: error while loading shared
libraries: /usr/lib/libpthread.so.0: ELF file OS ABI invalid
jes at jes-2.demon.nl:/home/jes%
In fact, if I try:
jes at jes-2.demon.nl:/home/jes% /compat/linux/bin/ls /tmp
/compat/linux/bin/ls: error while loading shared libraries:
/usr/lib/libpthread.so.0: ELF file OS ABI invalid
I've been struggling with this for a while and would like some help
(there are some other linux binaries I'd like to be able to run as
well).
Kernel config and dmesg.boot available on request,
I've attached a bzip2'ed kdump from a ktrace of running (as root)
# ktrace -i /compat/linux/bin/ls /tmp
/compat/linux/bin/ls: error while loading shared libraries:
/usr/lib/libpthread.so.0: ELF file OS ABI invalid
#
>How-To-Repeat:
Anything trying to load libpthread fails
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list