Linux compat library error: ELF file OS ABI invalid

Glyn Millington glyn at millingtons.org
Tue May 13 19:04:31 UTC 2008


Boris Samorodov <bsam at ipt.ru> writes:

> On Tue, 13 May 2008 09:14:54 +0100 Glyn Millington wrote:
>
>
>> FreeBSD 7.0 release, ports currently up-to-date
>> Trying to launch Linux Open Office 2.4 I get the following error message
>
>> ,----
>> | /usr/compat/linux/opt/openoffice.org2.4/program/soffice.bin: error while
>> | loading shared libraries: /usr/local/lib/libXext.so.6: ELF file OS ABI
>> | invalid
>> `----
>
>> Now I *think*   that what it ought to load is 
>> /usr/compat/linux/usr/X11R6/lib/libXext.so.6
>> but it goes for the FreeBSD X extension lib instead.
>> Can anyone help me to fix this?
>
> Please, show an output for:


Hi Boris,  thank you for taking an interest in my struggles :-)

Ok - here we go .....


> -----
> % uname -a

FreeBSD glynthebearded.millingtons.org 7.0-RELEASE FreeBSD 7.0-RELEASE
#0: Mon Apr 7 21:33:37 BST 2008
glyn at glynthebearded.millingtons.org:/usr/obj/usr/src/sys/GLYN1KERNEL i386

The changes in GLYNKERNEL from GENERIC relate only to acpi and apm.


> % pkg_info -xI 'linux'

linux-atk-1.9.1     Accessibility Toolkit, Linux/i386 binary
linux-cairo-1.0.2   Linux cairo binary
linux-expat-1.95.8  Linux/i386 binary port of Expat XML-parsing library
linux-flashplugin-9.0r124 Adobe Flash Player NPAPI Plugin
linux-fontconfig-2.2.3_7 Linux/i386 binary of Fontconfig
linux-glib2-2.6.6   Version 2.X Linux/i386 binary port of GLib
linux-gtk2-2.6.10   GTK+ library, version 2.X, Linux binary
linux-hicolor-icon-theme-0.5_1 A high-color icon theme shell from the FreeDesktop project
linux-jpeg-6b.34    RPM of the JPEG lib
linux-nvu-1.0       A complete Web Authoring System
linux-openssl-0.9.7f SSL and crypto library (Linux Version)
linux-pango-1.10.2  Linux pango binary
linux-png-1.2.8_2   RPM of the PNG lib
linux-realplayer-10.0.9.809.20070726 Linux RealPlayer 10 from RealNetworks
linux-scim-libs-1.4.4 Smart Common Input Method platform, library part, Linux bin
linux-sun-jdk-1.5.0.15,2 Sun Java Development Kit 1.5 for Linux
linux-tiff-3.7.1    TIFF library, Linux/i386 binary
linux-xorg-libs-6.8.2_5 Xorg libraries, linux binaries
linux_base-fc-4_13  Base set of packages needed in Linux mode (for i386/amd64)


> % strings /compat/linux/etc/ld.so.cache | grep libXextlibXext.so.6

/usr/X11R6/lib/libXext.so.6

> % echo ${LD_LIBRARY_PATH}

/usr/local/lib:/usr/local/share/squeak/3.7-7

> % sysctl -a | grep linux

hw.snd.compat_linux_mmap: 0
compat.linux.oss_version: 198144
compat.linux.osrelease: 2.4.2
compat.linux.osname: Linux






> -----
>
> As well as 'cat <your openoffice script>' if it's not very long. If it
> is long then please give an URL to that file.

#!/bin/sh
/usr/compat/linux/bin/sh /usr/compat/linux/opt/openoffice.org2.4/program/soffice


thanks again






Glyn


More information about the freebsd-questions mailing list