Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 100855

Summary: emul-linux-x86-baselibs-2.2.2 breaks openoffice-bin-1.9.118
Product: Gentoo Linux Reporter: Stefan Tittel <bugreports>
Component: New packagesAssignee: AMD64 Project <amd64>
Status: RESOLVED DUPLICATE    
Severity: normal CC: blubb
Priority: High    
Version: 2005.0   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Stefan Tittel 2005-07-30 17:54:46 UTC
Since I updated to version 2.2.2 of emul-linux-x86-baselibs, OpenOffice 1.9.118 
won't start anymore:

tittel@uranus:~$ /usr/bin/oowriter2
Inconsistency detected by ld.so: ../sysdeps/generic/dl-tls.c: 75: 
_dl_next_tls_modid: Assertion `result <= _rtld_local._dl_tls_max_dtv_idx' 
failed!

I've tried remerging OpenOffice and deleting ~/.openoffice.org2, but that didn't 
help. With emul-linux-x86-baselibs-2.1.1 everything is fine, but this version 
contains a vulnerable zlib (see bug 100686), so it isn't a serious alternative 
(emul-linux-x86-baselibs-2.2 is neither: OpenOffice starts fine with it, but UI 
elements are not drawn completely).

Output from 'emerge info':

Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.5-r0, 2.
6.12-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon64 -frename-registers -ftracer -fweb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/
share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /
usr/lib64/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/
config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /
usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -march=athlon64 -frename-registers -ftracer -fweb"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp:/
/sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://gentoo.oregonstate.
edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.ISO-8859-1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acpi alsa amd64 apache2 apm artswrappersuid avi berkdb 
bitmap-fonts cdr codecs crypt cups curl dvd dvdr dvdread eds encode fam fbcon 
ffmpeg firefox flac foomaticdb fortran gdbm gif gnome gstreamer gtk gtk2 icq 
imagemagick imlib java joystick jpeg junit libwww logitech-mouse lzw lzw-tiff 
mad maildir matroska mbox mjpeg motif moznomail mp3 mpeg mysql ncurses nls nntp 
nvidia offensive ogg oggvorbis opengl pam pdflib perl png ppds python quicktime 
readline sdl slang spell ssl tcltk tcpd tetex theora tiff truetype truetype-
fonts type1-fonts unicode usb userlocales uudeview vcd vim-with-x vorbis xface 
xine xml2 xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Sergey Belyashov 2005-07-31 00:47:13 UTC
Have same problem with emul-linux-x86-baselibs-2.2 (I'm also use AMD64):
When I update emul-linux-x86-baselibs-2.1.1 to emul-linux-x86-baselibs-2.2 my 
Opera-8.00 didn't start. I try to start it from terminal:
$ 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.
/opt/opera/lib/opera/8.0-20050415.5/opera: error while loading shared libraries: 
 libpng.so.3: cannot open shared object file: No such file or directory

Then I downgrade emul-linux-x86-baselibs-2.2 to the emul-linux-x86-baselibs-2.1.
1:
$ 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.
Opera starts correctly.
Comment 2 Simon Stelling (RETIRED) gentoo-dev 2005-07-31 04:07:11 UTC
Stefan, could you please post the output of `ldd /usr/bin/oowriter2`?

In reply to comment 1:
Sergey, your problem is already covered in bug 100795
Comment 3 Stefan Tittel 2005-07-31 08:46:45 UTC
/usr/bin/oowriter2 is a symlink to a wrapper script, so calling 'ldd /usr/bin/
oowriter2' just leads to 'not a dynamic executable'.

However, I think the real binary is /opt/OpenOffice.org/program/soffice.bin:

tittel@uranus:~$ ldd /opt/OpenOffice.org/program/soffice.bin
        linux-gate.so.1 =>  (0xffffe000)
        libvcl680li.so => /opt/OpenOffice.org/program/libvcl680li.so 
(0x5556d000)
        libsvl680li.so => /opt/OpenOffice.org/program/libsvl680li.so 
(0x5581a000)
        libsvt680li.so => /opt/OpenOffice.org/program/libsvt680li.so 
(0x558e3000)
        libutl680li.so => /opt/OpenOffice.org/program/libutl680li.so 
(0x55c5f000)
        libtl680li.so => /opt/OpenOffice.org/program/libtl680li.so (0x55cdf000)
        libcomphelp4gcc3.so => /opt/OpenOffice.org/program/libcomphelp4gcc3.so 
(0x55d84000)
        libucbhelper3gcc3.so => /opt/OpenOffice.org/program/libucbhelper3gcc3.so 
(0x55e68000)
        libvos3gcc3.so => /opt/OpenOffice.org/program/libvos3gcc3.so 
(0x55edc000)
        libuno_cppuhelpergcc3.so.3 => /opt/OpenOffice.org/program/
libuno_cppuhelpergcc3.so.3 (0x55ef9000)
        libuno_cppu.so.3 => /opt/OpenOffice.org/program/libuno_cppu.so.3 
(0x55f49000)
        libuno_sal.so.3 => /opt/OpenOffice.org/program/libuno_sal.so.3 
(0x55f7f000)
        libtk680li.so => /opt/OpenOffice.org/program/libtk680li.so (0x56130000)
        libXext.so.6 => /emul/linux/x86/usr/lib/libXext.so.6 (0x56367000)
        libSM.so.6 => /emul/linux/x86/usr/lib/libSM.so.6 (0x56375000)
        libICE.so.6 => /emul/linux/x86/usr/lib/libICE.so.6 (0x5637e000)
        libX11.so.6 => /emul/linux/x86/usr/lib/libX11.so.6 (0x56396000)
        libdl.so.2 => /lib32/libdl.so.2 (0x56460000)
        libpthread.so.0 => /lib32/libpthread.so.0 (0x56465000)
        libstlport_gcc.so => /opt/OpenOffice.org/program/libstlport_gcc.so 
(0x564b7000)
        libstdc++.so.6 => /opt/OpenOffice.org/program/libstdc++.so.6 
(0x5658c000)
        libm.so.6 => /lib32/libm.so.6 (0x56661000)
        libgcc_s.so.1 => /opt/OpenOffice.org/program/libgcc_s.so.1 (0x56684000)
        libc.so.6 => /lib32/libc.so.6 (0x5668c000)
        libsot680li.so => /opt/OpenOffice.org/program/libsot680li.so 
(0x567a3000)
        libicuuc.so.26 => /opt/OpenOffice.org/program/libicuuc.so.26 
(0x567f1000)
        libicule.so.26 => /opt/OpenOffice.org/program/libicule.so.26 
(0x568a3000)
        libjvmaccessgcc3.so.3 => /opt/OpenOffice.org/program/libjvmaccessgcc3.
so.3 (0x568ca000)
        libfreetype.so.6 => /emul/linux/x86/usr/lib/libfreetype.so.6 
(0x568ce000)
        libjvmfwk.so.3 => /opt/OpenOffice.org/program/libjvmfwk.so.3 
(0x5693e000)
        libuno_salhelpergcc3.so.3 => /opt/OpenOffice.org/program/
libuno_salhelpergcc3.so.3 (0x5695b000)
        libbasegfx680li.so => /opt/OpenOffice.org/program/libbasegfx680li.so 
(0x5695f000)
        /lib/ld-linux.so.2 (0x55555000)
        libicudata.so.26 => /opt/OpenOffice.org/program/libicudata.so.26 
(0x569a4000)
        libz.so.1 => /emul/linux/x86/lib/libz.so.1 (0x56d4f000)
        libxml2.so.2 => /opt/OpenOffice.org/program/libxml2.so.2 (0x56d60000)
Comment 4 Danny van Dyk (RETIRED) gentoo-dev 2005-08-01 05:21:08 UTC

*** This bug has been marked as a duplicate of 100795 ***