Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132328 - openoffice-bin-2.0.2 doesnt start due to missing libXext.so.6 on AMD64
Summary: openoffice-bin-2.0.2 doesnt start due to missing libXext.so.6 on AMD64
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-05 03:59 UTC by Marcus
Modified: 2007-06-21 09:16 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcus 2006-05-05 03:59:42 UTC
It's a newly installed box, stable tree except kde3.5 and kernel, which is testing.

On my old x86 box, the libXext.so comes with xorg, under /usr/lib. Is there any solution to provide that 32bit-library for openoffice ?

# listinstalled |grep xorg
x11-base/xorg-x11-6.8.2-r7

# find / -name "libXext.so.6"
/usr/lib64/libXext.so.6

# ldd /usr/lib32/openoffice/program/soffice.bin |grep found
        libXext.so.6 => not found
        libSM.so.6 => not found
        libICE.so.6 => not found
        libX11.so.6 => not found
        libfreetype.so.6 => not found
        libX11.so.6 => not found
        libX11.so.6 => not found


Another one of the not found libraries is within the lib64
# locate libSM.so.6
/usr/lib64/libSM.so.6.0
/usr/lib64/libSM.so.6




# strace /usr/lib32/openoffice/program/soffice.bin
...
open("/usr/lib32/openoffice/program/libvos3gcc3.so", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\0\1\000"..., 512) = 512
fstat64(0x3, 0xffffb350)                = 0
mmap2(NULL, 117136, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xfffffffff75ad000
mmap2(0xf75c8000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a) = 0xfffffffff75c8000
close(3)                                = 0
open("/usr/lib32/openoffice/program/libuno_cppuhelpergcc3.so.3", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\37"..., 512) = 512
fstat64(0x3, 0xffffb334)                = 0
mmap2(NULL, 386992, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xfffffffff754e000
mmap2(0xf759f000, 57344, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x50) = 0xfffffffff759f000
close(3)                                = 0
open("/usr/lib32/openoffice/program/libuno_cppu.so.3", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300;\0"..., 512) = 512
fstat64(0x3, 0xffffb318)                = 0
mmap2(NULL, 219452, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xfffffffff7518000
mmap2(0xf7547000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2e) = 0xfffffffff7547000
close(3)                                = 0
open("/usr/lib32/openoffice/program/libuno_sal.so.3", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220:\1"..., 512) = 512
fstat64(0x3, 0xffffb2fc)                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xfffffffff7517000
mmap2(NULL, 1767836, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xfffffffff7367000
mmap2(0xf7503000, 81920, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x19c) = 0xfffffffff7503000
close(3)                                = 0
open("/usr/lib32/openoffice/program/libtk680li.so", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`u\6\000"..., 512) = 512
fstat64(0x3, 0xffffb2e0)                = 0
mmap2(NULL, 2109324, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xfffffffff7164000
mmap2(0xf7301000, 413696, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x19d) = 0xfffffffff7301000
mmap2(0xf7366000, 3980, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xfffffffff7366000
close(3)                                = 0
open("/usr/lib32/openoffice/program/libXext.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(0x3, 0xffffb250)                = 0
mmap2(NULL, 56190, PROT_READ, MAP_PRIVATE, 3, 0) = 0xfffffffff7156000
close(3)                                = 0
open("/lib/tls/i686/sse2/libXext.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64(0xffffb240, 0xffffb2c4)          = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/libXext.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64(0xffffb240, 0xffffb2c4)          = -1 ENOENT (No such file or directory)
open("/lib/tls/sse2/libXext.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64(0xffffb240, 0xffffb2c4)          = -1 ENOENT (No such file or directory)
open("/lib/tls/libXext.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64(0xffffb240, 0xffffb2c4)          = -1 ENOENT (No such file or directory)
open("/lib/i686/sse2/libXext.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64(0xffffb240, 0xffffb2c4)          = -1 ENOENT (No such file or directory)
open("/lib/i686/libXext.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64(0xffffb240, 0xffffb2c4)          = -1 ENOENT (No such file or directory)
open("/lib/sse2/libXext.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64(0xffffb240, 0xffffb2c4)          = -1 ENOENT (No such file or directory)
open("/lib/libXext.so.6", O_RDONLY)     = -1 ENOENT (No such file or directory)
stat64(0xffffb240, 0xffffb2c4)          = 0
open("/usr/lib/tls/i686/sse2/libXext.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64(0xffffb240, 0xffffb2c4)          = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/i686/libXext.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64(0xffffb240, 0xffffb2c4)          = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/sse2/libXext.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64(0xffffb240, 0xffffb2c4)          = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/libXext.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64(0xffffb240, 0xffffb2c4)          = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/sse2/libXext.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64(0xffffb240, 0xffffb2c4)          = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/libXext.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64(0xffffb240, 0xffffb2c4)          = -1 ENOENT (No such file or directory)
open("/usr/lib/sse2/libXext.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64(0xffffb240, 0xffffb2c4)          = -1 ENOENT (No such file or directory)
open("/usr/lib/libXext.so.6", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\2005\0\0"..., 512) = 512
close(3)                                = 0
stat64(0xffffb240, 0xffffb2c4)          = 0
writev(2, [{umovestr: Input/output error
0x29ffffd5d2, 12749783152}, {umovestr: Input/output error
0x24f7f23388, 12749783156}, {umovestr: Input/output error
0xcf751756f, 12749783147}, {umovestr: Input/output error
0x1ef7517550, 12749783147}, {umovestr: Input/output error
0x19f7f24405, 8454815872}, {NULL, 0}, {NULL, 0}, {NULL, 0}, {NULL, 0}, {NULL, 0}], 10/usr/lib32/openoffice/program/soffice.bin: error while loading shared libraries: libXext.so.6: cannot open shared object file: No such file or directory
) = 153
exit_group(127)                         = ?





# emerge --info
Portage 2.0.54 (!/usr/portage/profiles/default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.3.5-r3, 2.6.16-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r4 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4600+
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.3-r1
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer -ffast-math"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer -ffast-math"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages sandbox sfperms strict strip"
GENTOO_MIRRORS="http://192.168.0.10/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/mnt/scratch/packages"
PORTAGE_TMPDIR="/mnt/scratch/var/tmp"
PORTDIR="/mnt/scratch/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage/"
USE="amd64 X acpi alsa apm arts audiofile avi bash-completion bitmap-fonts bluetooth browserplugin bzip2 bzlib cdr cle266 cli crypt dedicated dga dio divx4linux dri dvd dvdr dvdread eds emboss encode exif expat fam fbcon ffmpeg fftw flash foomaticdb fortran ftp gd gdbm glx gmp gphoto2 gpm gstreamer gtk gtk2 icq idn imagemagick imap imlib ipv6 isdnlog java jpeg junit kde kdeenablefinal lcms libwww lirc lm_sensors lzw lzw-tiff mad mikmod mime mng motif mozilla mozsvg mp3 mpeg mpi mythtv ncurses nls nptl nptlonly nsplugin nvidia offensive ogg opengl pam pcntl pcre pdflib perl png pnp posix pppd pthreads python qt quicktime readline reflection samba sdl session shared sharedmem snmp sockets socks5 source speex spell spl ssl svg sysvipc tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb v4l vcd vhosts videos www xml xml2 xmms xorg xosd xpm xv xvid zeroconf zlib video_cards_nv video_cards_nvidia video_cards_vesa linguas_de userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, PORTDIR_OVERLAY


# listinstalled |grep emul
app-emulation/emul-linux-x86-java-1.4.2.03-r1
app-emulation/emul-linux-x86-compat-1.0-r1
app-emulation/emul-linux-x86-baselibs-2.4.2
app-emulation/emul-linux-x86-soundlibs-2.3
app-emulation/emul-linux-x86-xlibs-2.2.2
app-emulation/emul-linux-x86-sdl-2.3
Comment 1 Marcus 2006-05-05 04:06:40 UTC
strace shows that /usr/lib/libXext.so.6   is being read, but it seems to be the wrong version. 

#  less /usr/lib/libXext.so.6

ELF Header:
  Magic:   7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00
  Class:                             ELF64
  Data:                              2's complement, little endian
  Version:                           1 (current)
  OS/ABI:                            UNIX - System V
  ABI Version:                       0
  Type:                              DYN (Shared object file)
  Machine:                           Advanced Micro Devices X86-64
  Version:                           0x1
  Entry point address:               0x3580
  Start of program headers:          64 (bytes into file)
  Start of section headers:          69488 (bytes into file)
  Flags:                             0x0
  Size of this header:               64 (bytes)
  Size of program headers:           56 (bytes)
  Number of program headers:         6
  Size of section headers:           64 (bytes)
  Number of section headers:         25
  Section header string table index: 24

Dynamic section at offset 0x10028 contains 23 entries:
  Tag        Type                         Name/Value
 0x0000000000000001 (NEEDED)             Shared library: [libX11.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libXau.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
 0x000000000000000e (SONAME)             Library soname: [libXext.so.6]
 0x000000000000000c (INIT)               0x3210
 0x000000000000000d (FINI)               0xe358
 0x0000000000000004 (HASH)               0x190
 0x0000000000000005 (STRTAB)             0x18e0
 0x0000000000000006 (SYMTAB)             0x6b0
 0x000000000000000a (STRSZ)              3117 (bytes)
 0x000000000000000b (SYMENT)             24 (bytes)
 0x0000000000000003 (PLTGOT)             0x110228
 0x0000000000000002 (PLTRELSZ)           1248 (bytes)
 0x0000000000000014 (PLTREL)             RELA
 0x0000000000000017 (JMPREL)             0x2d30
 0x0000000000000007 (RELA)               0x26b8
 0x0000000000000008 (RELASZ)             1656 (bytes)
 0x0000000000000009 (RELAENT)            24 (bytes)
 0x000000006ffffffe (VERNEED)            0x2698
 0x000000006fffffff (VERNEEDNUM)         1
 0x000000006ffffff0 (VERSYM)             0x250e
 0x000000006ffffff9 (RELACOUNT)          59
 0x0000000000000000 (NULL)               0x0
Comment 2 Marcus 2006-05-05 12:23:37 UTC
re-emerging emul-linux-x86-xlibs  got me the /emu tree back. But - I have no clue why it wasn't there anymore, since i saw it installing a few days before. 

oo bug solved.
Comment 3 Maik Nijhuis 2007-06-21 09:16:27 UTC
I had exactly the same problem with openoffice-bin-2.2.1. libXext.so.6 and the file this symlink was pointing to (libXext.so.6.4.0) were present in /emul/linux/x86/libs, but ooffice failed to start. After upgrading emul-linux-x86-xlibs it worked again.