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

Bug 106923

Summary: Subversion looks for which doesn't exist.
Product: Gentoo Linux Reporter: HARGITAI Gabor <higany>
Component: [OLD] DevelopmentAssignee: Paul de Vrieze (RETIRED) <pauldv>
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Package list:
Runtime testing required: ---

Description HARGITAI Gabor 2005-09-22 13:38:26 UTC
When I try to run svn I get:
svn: error while loading shared libraries: cannot open shared
object file: No such file or directory

Here is my subversion:

emerge -pv subversion

These are the packages that I would merge, in order:

Calculating dependencies   ...done!
[ebuild  N    ] dev-util/subversion-1.2.3-r1  +apache2 +bash-completion +berkdb
-emacs +java +nls -nowebdav +perl +python +zlib 0 kB

I reemerged subversion and com_err, but it doesn't help.

Revdep-rebuild -p only gives openoffice-bin.

Reproducible: Always
Steps to Reproduce:

 emerge info
Portage (default-linux/x86/2005.0, gcc-3.4.3, glibc-2.3.5-r1,
2.6.13-gentoo-r2 i686)
System uname: 2.6.13-gentoo-r2 i686 AMD Athlon(tm) XP 2200+
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5-r2
sys-apps/sandbox:    1.2.12
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.6
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:, 2.6.11-r2
CFLAGS="-O2 -march=athlon-xp -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.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/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/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
FEATURES="autoconfig candy distlocks sandbox sfperms strict"
USE="x86 3dnow 3dnowext X aac aalib adns aim alsa apache2 apm arts avi
bash-completion berkdb bitmap-fonts bmp bonobo cairo calendar cdr crypt cups
curl dga doc dts dv dvd dvdread eds emboss encode esd fam fbcon firefox flac
foomaticdb fortran ftp gd gdbm gif gimp gimpprint glitz gnome gnomedb gnutls
gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal howl icu imagemagick imap imlib java
jpeg junit kde kdeenablefinal kerberos ldap libg++ libwww live mad mikmod mime
mmx mono motif mozilla mp3 mpeg ncurses nls nntp nptl offensive ogg oggvorbis
opengl oss pam pdflib perl pic png postgres ppds python qt quicktime readline
samba scanner sdl slang smime sox spell sqlite sse ssl svg svga tcltk tcpd tetex
theora tiff truetype truetype-fonts type1-fonts unicode usb videos vnc vorbis
wxwindows xine xml xml2 xmms xprint xscreensaver xv zeroconf zlib
video_cards_radeon linguas_hu userland_GNU kernel_linux elibc_glibc"
Comment 1 BigBug 2005-09-22 18:44:42 UTC
remerge subversion, or if u have unmerged sys-libs/com_err merge it back (with
Comment 2 HARGITAI Gabor 2005-09-23 01:31:01 UTC
Of course I remerged com_err and then subversion, but it doesn't help. And
equery depgraph subversion says that subversion doesn't depend on com_err.
Comment 3 Paul de Vrieze (RETIRED) gentoo-dev 2005-09-23 12:33:11 UTC
I can't find any dependency on libcom_err in my subversion. It's clearly a
problem with one of the dependants of subversion. If I had to guess, I'd point
at apr and apr-util. If you want to find where the problem exactly lies you can
do it with ldd. Run "ldd /usr/bin/svn". Then do the same for all the libraries
there, as long as libcom_err is still in the list. There is no need to check though. If no of the used libraries provide the library
you know that this library imports itself.
Comment 4 HARGITAI Gabor 2005-09-26 17:18:13 UTC
Okay, so neon is the problem.

 ldd /usr/bin/svn =>  (0xffffe000) => /usr/lib/ (0xb7fb3000) => /usr/lib/ (0xb7f88000) => /usr/lib/ (0xb7f84000) => /usr/lib/ (0xb7f7e000) => /usr/lib/ (0xb7f78000) => /usr/lib/ (0xb7f5b000) => /usr/lib/ (0xb7f55000) => /usr/lib/ (0xb7f39000) => /usr/lib/ (0xb7f12000) => /usr/lib/ (0xb7f02000) => /usr/lib/ (0xb7eea000) => /usr/lib/ (0xb7ee2000) => /usr/lib/ (0xb7ebb000) => /usr/lib/ (0xb7ea5000) => /usr/lib/ (0x4c779000) => /usr/lib/ (0x4c3e5000) => /usr/lib/ (0xb7e9f000) => /usr/lib/ (0x4c1a9000) => /usr/lib/ (0x4ba58000) => /usr/lib/ (0xb7e7d000) => /lib/tls/ (0x4c63a000) => /lib/ (0x4d0b4000) => /lib/ (0x4ca07000) => /usr/lib/ (0x4922f000) => /usr/lib/ (0x4c4fc000) => /usr/lib/ (0x4c530000) => /usr/lib/ (0x4c7ab000) => /usr/lib/ (0x4c10f000) => /usr/lib/ (0x4c183000) => /lib/ (0xb7e4d000) => /lib/ (0x4badd000) => /usr/lib/ (0x4d1a9000) => /lib/ (0x4b8b1000) => /lib/tls/ (0x4b986000) => /lib/tls/ (0x4b88c000) => /lib/ (0x4b9ac000) => /lib/tls/ (0x4b772000)
        /lib/ (0x4b752000) => not found => /usr/lib/ (0x4bc92000)
higany@gnu:~ $ ldd  /usr/lib/ =>  (0xffffe000) => /usr/lib/ (0x4c4fc000) => /usr/lib/ (0x4c530000) => /lib/ (0x4b8b1000) => /usr/lib/ (0x4c7ab000) => /usr/lib/ (0x4c10f000) => /usr/lib/ (0x4c183000) => not found => /lib/ (0x4badd000) => /usr/lib/ (0x4d1a9000) => /lib/ (0x4b9ac000) => /lib/tls/ (0x4b986000) => /lib/tls/ (0x4b88c000) => /lib/tls/ (0x4b772000)
        /lib/ (0x80000000) => /lib/ (0xb7fcc000) => /usr/lib/ (0x4bc92000)

And no of the used libraries provide

equery belongs -c net-misc /usr/lib/
[ Searching for file(s) /usr/lib/ in net-misc... ]
net-misc/neon-0.24.7 (/usr/lib/ ->

emerge -pv neon

These are the packages that I would merge, in order:

Calculating dependencies  ...done!
[ebuild   R   ] net-misc/neon-0.24.7  -expat +ssl +zlib 589 kB

Total size of downloads: 589 kB
Comment 5 HARGITAI Gabor 2005-09-27 10:06:35 UTC
Reemergin neon fixed the bug.

Now the question is why couldn't revdep-rebuild detect this problem (I don't no
if it should)?
Comment 6 Paul de Vrieze (RETIRED) gentoo-dev 2005-09-27 10:22:15 UTC
Probably revdep-rebuild might be able to find this. Only when giving libcom_err
as dependency though. In any case I guess your bug's solved now.