Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79830 - openoffice-bin fails on emerge
Summary: openoffice-bin fails on emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-28 04:16 UTC by elf99
Modified: 2005-03-01 18:43 UTC (History)
2 users (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 elf99 2005-01-28 04:16:59 UTC
openoffice-bin fails on emerge with the following message: cannot open shared libraries: libX11.so.6
Comment 1 elf99 2005-01-28 04:20:26 UTC
openoffice-bin fails on emerge. portage print the following message on fail: cannot open shared libraries: libX11.so.6

Portage 2.0.51-r15 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r14 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r14 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jan 17 2005, 11:23:31)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r5
sys-devel/automake:  1.8.5-r1
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.2-r7
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon64 -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon64 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa berkdb bitmap-fonts cdr crypt cups dvd esd f77 fam font-server fortran gif gnome gpm gstreamer gtk gtk2 imlib ipv6 java jp2 jpeg lzw lzw-tiff multilib ncurses nls opengl pam perl png python readline samba ssl tcpd tiff truetype truetype-fonts type1-fonts usb userlocales xml2 xmms xpm xrandr xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, PORTDIR_OVERLAY

Comment 2 elf99 2005-01-28 04:24:41 UTC
i solved the problem. you have to create symlinks for the missing libraries in the "/lib"-directory.

cd /lib
ln -sf /emul/linux/x86/usr/X11R6/lib/libX11.so.6.2 libX11.so.6
ln -sf /emul/linux/x86/usr/X11R6/lib/libXext.so.6.4 libXext.so.6
ln -sf /emul/linux/x86/usr/X11R6/lib/libSM.so.6.0 libSM.so.6
ln -sf /emul/linux/x86/usr/X11R6/lib/libICE.so.6.3 libICE.so.6

this solution works fine for me. openoffice started with no errors
Comment 3 Jeffrey Forman (RETIRED) gentoo-dev 2005-01-28 04:48:18 UTC
Please read the product descriptions when you file bugs. This is NOT a bugzilla bug, but a general gentoo linux bug.
Comment 4 Jeffrey Forman (RETIRED) gentoo-dev 2005-01-28 04:49:12 UTC
Reopen to reassing to bug wranglers
Comment 5 Andreas Proschofsky (RETIRED) gentoo-dev 2005-01-28 06:15:49 UTC
Obviously not an OOo bug, reassigning to AMD64
Comment 6 Roland Bär 2005-01-28 06:29:03 UTC
Had similar stuff before, not only here.
Could you check if your /usr/X11R6/lib32/ is an empty directory.
But it should be a symlink to ../../emul/linux/x86/usr/X11R6/lib32

# file /usr/X11R6/lib32 
/usr/X11R6/lib32: symbolic link to `../../emul/linux/x86/usr/X11R6/lib32'
Comment 7 Andreas Proschofsky (RETIRED) gentoo-dev 2005-01-31 09:08:19 UTC
*** Bug 80223 has been marked as a duplicate of this bug. ***
Comment 8 Sebastian Spaeth 2005-01-31 09:12:49 UTC
Just a note: my bug 80223 which was just marked as dupe to this one, isn't exactly a dupe. It was a 2005.0 fallout with removed emul-libs.
"reinstalling the emul-libs solved it. I guess there is a reason they are still listed as dependencies :-). Propbably this should be noted in the 2005.0 transition doc where it tells you to remove them..."
Comment 9 Marcus D. Hanwell (RETIRED) gentoo-dev 2005-03-01 18:43:54 UTC
This should hopefully be fixed with the newer emul-linux-x86-xlibs ebuild which does more checking for correct symlinks. Please reopen if the problem persists.