Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81064 - openoffice-bin 1.14 setup fails with abort message. Details are: missing shared libraries
Summary: openoffice-bin 1.14 setup fails with abort message. Details are: missing sh...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-06 20:06 UTC by David Fellows
Modified: 2005-05-19 09:41 UTC (History)
0 users

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 David Fellows 2005-02-06 20:06:05 UTC
After emerging openoffice-bin-1.1.4  I tried to run office as a user with no previous openoffice configured.
The setup script failed with "abort"
The detailed reason is missing shared libraries.
My fix is given in the additional information section.

OOo was about the last package to be emerged on a complete new build of 2004.3 
profile.

Reproducible: Always
Steps to Reproduce:
1.emerge openoffice-bin  1.1.4
2.login as normal user without a previous version of OOo installed.
3. startx  (with GNOME)
4.start xterm
5. sooffice &


Actual Results:  
running openoffice.org setup...
setup failed.. abort

Expected Results:  
installation of files in user's home dir. 
OpenOffice started.

I then executed the setup program manually as
/opt/OpenOffice.org/program/setup
and got more useful error messages:
error while loading shared library libsal.so.3 
and libcppuhelpergcc3.so.3

The libraries are in /opt/OpenOffice.org/program/  NOT!
As root I executed the following command:
cd /opt/OpenOffice.org/program/  ;  ldconfig -v -n -N .

This created quite a few links!  The output follows , note the "changed" entries
After doing this OpenOffice behaved as expected.
I have no idea where this step should go in th ebuild.

+++++++++++++++++++++
jo program # ldconfig -v -n -N .
.:
        libsal.so.3 -> libsal.so.3.1.0 (changed)
        libfrm645li.so -> libfrm645li.so
        libcalc645li.so -> libcalc645li.so
        libmozab2.so -> libmozab2.so
        libcomphelp3gcc3.so -> libcomphelp3gcc3.so
        libusp645li.so -> libusp645li.so
        libfwi645li.so -> libfwi645li.so
        libsm645li.so -> libsm645li.so
        libjvm645li.so -> libjvm645li.so
        liblng645li.so -> liblng645li.so
        libjava_uno.so -> libjava_uno.so
        libdict_zh.so -> libdict_zh.so
        libucpftp1.so -> libucpftp1.so
        libdict_ja.so -> libdict_ja.so
        librmcxt.so.3 -> librmcxt.so.3.1.0 (changed)
        libicui18n.so.22 -> libicui18n.so.22.0 (changed)
        libres645li.so -> libres645li.so
        libcppuhelpergcc3.so.3 -> libcppuhelpergcc3.so.3.1.0 (changed)
        libtvhlp1.so -> libtvhlp1.so
        libsvl645li.so -> libsvl645li.so
        libevtatt.so -> libevtatt.so
        liblocaledata_es.so -> liblocaledata_es.so
        liblocaledata_en.so -> liblocaledata_en.so
        libsalhelpergcc3.so.3 -> libsalhelpergcc3.so.3.1.0
        libutl645li.so -> libutl645li.so
        libjuhx.so -> libjuhx.so
        libcurl.so -> libcurl.so
        libsd645li.so -> libsd645li.so
        libxpcom.so -> libxpcom.so
        libi18nutilgcc3.so -> libi18nutilgcc3.so
        libregmimetypes645li.so -> libregmimetypes645li.so
        libanalysis645li.so -> libanalysis645li.so
        libsch645li.so -> libsch645li.so
        libsvx645li.so -> libsvx645li.so
        libcnt645li.so -> libcnt645li.so
        libpkgchk645li.so -> libpkgchk645li.so
        libi18n645li.so -> libi18n645li.so
        libxmlfd645li.so -> libxmlfd645li.so
        libofa645li.so -> libofa645li.so
        libsrtrs1.so -> libsrtrs1.so
        libflash645li.so -> libflash645li.so
        libicuuc.so.22 -> libicuuc.so.22.0
        libsfx645li.so -> libsfx645li.so
        libsw645li.so -> libsw645li.so
        libctl645li.so -> libctl645li.so
        libprldap50.so -> libprldap50.so
        libsb645li.so -> libsb645li.so
        libfwe645li.so -> libfwe645li.so
        libsot645li.so -> libsot645li.so
        libxsltdlg645li.so -> libxsltdlg645li.so
        libfwl645li.so -> libfwl645li.so
        libdba645li.so -> libdba645li.so
        libpl645li.so -> libpl645li.so
        libtl645li.so -> libtl645li.so
        libfileacc.so -> libfileacc.so
        liboffacc645li.so -> liboffacc645li.so
        libulingu645li.so -> libulingu645li.so
        libreg.so.3 -> libreg.so.3.1.0
        libplc4.so -> libplc4.so
        libpyuno.so -> libpyuno.so
        libjdbc2.so -> libjdbc2.so
        liblocaledata_others.so -> liblocaledata_others.so
        libvos3gcc3.so -> libvos3gcc3.so
        libmcnttype.so -> libmcnttype.so
        libgcc3_uno.so -> libgcc3_uno.so
        libodbc2.so -> libodbc2.so
        libicule.so.22 -> libicule.so.22.0
        libadabas2.so -> libadabas2.so
        libcmdmail.so -> libcmdmail.so
        libbasctl645li.so -> libbasctl645li.so
        libhyphen645li.so -> libhyphen645li.so
        liburp_uno.so -> liburp_uno.so
        libsvt645li.so -> libsvt645li.so
        liblocaledata_euro.so -> liblocaledata_euro.so
        libbib645li.so -> libbib645li.so
        libstdc++.so.5 -> libstdc++.so.5
        libplds4.so -> libplds4.so
        libflat645li.so -> libflat645li.so
        libmsgbaseutil.so -> libmsgbaseutil.so
        libdtransX11645li.so -> libdtransX11645li.so
        libsts645li.so -> libsts645li.so
        libjpipe.so -> libjpipe.so
        libcached1.so -> libcached1.so
        libcfgmgr2.so -> libcfgmgr2.so
        libucphier1.so -> libucphier1.so
        libstore.so.3 -> libstore.so.3.1.0
        libucbhelper2gcc3.so -> libucbhelper2gcc3.so
        libdbase645li.so -> libdbase645li.so
        libpackage2.so -> libpackage2.so
        libuui645li.so -> libuui645li.so
        libi18nsearch.so -> libi18nsearch.so
        libgcc_s.so.1 -> libgcc_s.so.1
        libucpdav1.so -> .so
        libsyssh.so -> libsyssh.so
        libpcr645li.so -> libpcr645li.so
        libnspr4.so -> libnspr4.so
        libldap50.so -> libldap50.so
        libxo645li.so -> libxo645li.so
        libtplx645li.so -> libtplx645li.so
        libdate645li.so -> libdate645li.so
        libucpfile1.so -> libucpfile1.so
        libjvmaccessgcc3.so.3 -> libjvmaccessgcc3.so.3.1.0
        libmozjs.so -> libmozjs.so
        libstlport_gcc.so -> libstlport_gcc.so
        libofficebean.so -> libofficebean.so
        libpsp645li.so -> libpsp645li.so
        libvcl645li.so -> libvcl645li.so
        libdbpool2.so -> libdbpool2.so
        libsc645li.so -> libsc645li.so
        libmozabdrv2.so -> libmozabdrv2.so
        libdbp645li.so -> libdbp645li.so
        libj645li_g.so -> libj645li_g.so
        libxcr645li.so -> libxcr645li.so
        libxsltfilter645li.so -> libxsltfilter645li.so
        libmysql2.so -> libmysql2.so
        libucppkg1.so -> libucppkg1.so
        libpreload645li.so -> libpreload645li.so
        libcppu.so.3 -> libcppu.so.3.1.0
        libmozz.so -> libmozz.so
        libdb-4.2.so -> libdb-4.2.so
        libset645li.so -> libset645li.so
        libscn645li.so -> libscn645li.so
        libucb1.so -> libucb1.so
        libwrp645li.so -> libwrp645li.so
        libdbtools2.so -> libdbtools2.so
        libdbi645li.so -> libdbi645li.so
        libicudata.so.22 -> libicudata.so.22.0
        libspell645li.so -> libspell645li.so
        libxmx645li.so -> libxmx645li.so
        libplacewareli.so -> libplacewareli.so
        libspa645li.so -> libspa645li.so
        libi18npool645li.so -> libi18npool645li.so
        libevoab1.so -> libevoab1.so
        libfwk645li.so -> libfwk645li.so
        libdbu645li.so -> libdbu645li.so
        libdb_java-4.2.so -> libdb_java-4.2.so
        libjuh.so -> libjuh.so
        libzip645li.so -> libzip645li.so
        libpdffilter645li.so -> libpdffilter645li.so
        libso645li.so -> libso645li.so
        liblth645li.so -> liblth645li.so
        libpk645li.so -> libpk645li.so
        libxmlfa645li.so -> libxmlfa645li.so
        libtk645li.so -> libtk645li.so
        libucpchelp1.so -> libucpchelp1.so
        libsdbc2.so -> libsdbc2.so
        libabp645li.so -> libabp645li.so
        libproxyset.so -> libproxyset.so
        libsvg645li.so -> libsvg645li.so
        libi18nregexpgcc3.so -> libi18nregexpgcc3.so
        libpython.so.2 -> libpython.so.2.2.2
        libodbcbase2.so -> libodbcbase2.so
        libgo645li.so -> libgo645li.so
jo program #
++++++++++++++++++++++++++++
jo etc # emerge --info
Portage 2.0.51-r2 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 Pentium III (Katmai)
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://gentoo.risq.qc.ca/ ftp://cs.ubishops.ca/pub/gentoo
ftp://sunsite.ualberta.ca/pub/unix/Linux/gentoo/
ftp://ibiblio.org/pub/Linux/distributions/gentoo/ http://gentoo.mirrored.ca/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X apm arts avi berkdb bitmap-fonts crypt cups encode esd f77 fam
font-server foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6
java jpeg kde libg++ libwww mad mikmod motif mozilla mpeg ncurses nls oggvorbis
opengl oss pam pdflib perl png python qt quicktime readline samba sdl spell ssl
svga tcpd tiff truetype truetype-fonts type1-fonts xml2 xmms xv zlib"
Comment 1 Andreas Proschofsky (RETIRED) gentoo-dev 2005-05-11 08:54:30 UTC
First question: Why do you try to start OOo with soffice, you shouldn't. Just start it with oowriter, oocalc and so on (as is stated in postinstall), at the first start the user install is done automatically

Also all the libraries are installed correctly for me, also the symlinks are correct, so this has to be a local problem. Can you still reproduce that?
Comment 2 David Fellows 2005-05-11 19:44:23 UTC
Sorry, I obviously made a typo in entering the original bug description.  Step 5 in the Steps to Reproduce should read  "ooffice &".

As stated it did start to try to do the user initialization, but failed.

No I can't revert that system to it's state prior to installing openoffice-bin.
It is in production use by someone else now and I don't know the exact state anyway. Furthermore the 1.1.4 ebuild is no longer on my system. only 1.1.4-r1.  

The emerge and setup of openoffice-bin was basically the last steps of
installing Gentoo on a newly formatted disk.  I installed Gnome, but not KDE.

Somewhere along the line (April 16 appparently) I had no trouble emerging app-office/openoffice-bin-1.1.4-r1
since that is what is reported on that system now. 

Note that the particular libraries that were "missing" are part of openoffice and that openoffice had never been installed on this machine before. 

I would presume that the problem can be reproduced on any virgin Gentoo install. If they can't it must have been a one-time fluke.

I happen to still have the console logs and /var/log/portage logs of the emerges if they would be of any help.
Comment 3 Andreas Proschofsky (RETIRED) gentoo-dev 2005-05-19 09:41:23 UTC
This does not happen on any new system, so it must have been a
one-time-bad-luck-problem ;) , closing.