Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90746 - /usr/bin/openjade: error while loading shared libraries: cannot open shared object file: No such file or directory
Summary: /usr/bin/openjade: error while loading shared libraries: cannot ...
Status: RESOLVED DUPLICATE of bug 1991
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Text-Markup Team (OBSOLETE)
Depends on:
Reported: 2005-04-28 11:28 UTC by Robert Forsman
Modified: 2009-01-29 16:27 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Robert Forsman 2005-04-28 11:28:50 UTC
Can someone familiar with the ebuild mechanisms look this over and figure out how the opensp dynamic library needed by openjade disappeared without triggering a recompile of openjade?

I think gnome-vfs is just "he who smelt it" in this tragedy.  While updating my world gnome-vfs failed to compile:

touch sgml-build.stamp
touch ./sgml.stamp
*** Building HTML ***
test -d ./html || (rm -rf ./html && mkdir ./html)
cd ./html && gtkdoc-mkhtml gnome-vfs ../gnome-vfs-docs.sgml
/usr/bin/openjade: error while loading shared libraries: cannot open shared object file: No such file or directory
make[2]: *** [html-build.stamp] Error 127
make[2]: Leaving directory `/var/tmp/portage/gnome-vfs-1.0.5-r4/work/gnome-vfs-1.0.5/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-vfs-1.0.5-r4/work/gnome-vfs-1.0.5'
make: *** [all-recursive-am] Error 2

!!! ERROR: gnome-base/gnome-vfs-1.0.5-r4 failed.
!!! Function src_compile, Line 74, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

Poking around in the bug database, the lightbulb finally came on over my head:

 nile:519 # ldd /usr/bin/openjade  | grep libosp => /usr/lib/ (0x40208000) => not found

Somehow libosp got upgraded, and openjade wasn't recompiled.  It may have something to do with these lines logged in /var/log/emerge.log:

1111078634: Started emerge on: Mar 17, 2005 11:57:14
1111078634:  *** emerge --update --verbose --deep world
1111078645:  >>> emerge (1 of 17) app-text/opensp-1.5.1 to /
1111078645:  === (1 of 17) Cleaning (app-text/opensp-1.5.1::/usr/portage/app-tex
1111078646:  === (1 of 17) Compiling/Merging (app-text/opensp-1.5.1::/usr/portag
1111079128:  === (1 of 17) Post-Build Cleaning (app-text/opensp-1.5.1::/usr/port
1111079131:  >>> AUTOCLEAN: app-text/opensp
1111079137: === Unmerging... (app-text/opensp-1.5-r1)
1111079149:  >>> unmerge success: app-text/opensp-1.5-r1
1111079150:  ::: completed emerge (1 of 17) app-text/opensp-1.5.1 to /
1111079150:  >>> emerge (2 of 17) app-text/docbook-xsl-stylesheets-1.66.1 to /
1111079150:  === (2 of 17) Cleaning (app-text/docbook-xsl-stylesheets-1.66.1::/u
1111079151:  === (2 of 17) Compiling/Merging (app-text/docbook-xsl-stylesheets-1

I'm assuming I should re-emerge the openjade package which hopefully will result in it being linked against my existing libosp .  I hope this bug report is useful to the next person who gets this error.

Reproducible: Always
Steps to Reproduce:
I'm not sure what steps could be taken to put the system into this malfunctioning state.

Expected Results:  
The libosp dynamic library should not have been removed without a recompilation
of the packages which depend on it.

Portage (default-linux/x86/2005.0/2.4, gcc-3.3.5-20050130,
glibc-, 2.4.28-gentoo-r8 i686)
System uname: 2.4.28-gentoo-r8 i686 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 23 2005, 16:44:54)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.4.22-r1
CFLAGS="-O2 -march=i686 -fomit-frame-pointer"
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/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/bind
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
USE="x86 3dnow 3dnowex X Xaw3d acl alsa apache2 apm arts avi bash-completion
berkdb bitmap-fonts bonobo bzlib cdr crypt cups curl divx4linux doc dv dvd dvdr
dvdread edl emboss encode esd fam ffmpeg foomaticdb gdbm gif gnome gpm gtk gtk2
gtkhtml guile imagemagick imlib ipv6 java jpeg junit kde libg++ libwww mad
maildir mikmod mjpegi mmx mng motif mp3 mpeg mysql mythtv ncurses nls nojython
ogg oggvorbis opengl oss pam pcmcia pdflib perl png python qt quicktime readline
sdl spell sse sse2 ssl svg svga tcltk tcpd theora tiff transcode truetype
truetype-fonts type1-fonts unicode v4l vim-with-x vorbis win32codecs wmf
xinerama xml xml2 xmms xv xvid yv12 zlib"
Comment 1 Robert Forsman 2005-04-28 11:51:27 UTC
doing an

emerge -1 openjade

did allow the update of gnome-vfs to complete.  Other users who encounter this problem can use that workaround.  

The only remaining issue for the gentoo maintainers is "how did openjade get the libosp rug pulled out from under it?"
Comment 2 Robert Forsman 2005-05-18 11:04:25 UTC
I have since learned of the revdep-rebuild tool (which is part of the gentoolkit
ebuild which is not installed by default, but appears to be required to maintain
a working gentoo system).

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