Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 51252 - EVMS: after install emerge needs an ldconfig
Summary: EVMS: after install emerge needs an ldconfig
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-16 23:28 UTC by Steve Herber
Modified: 2004-07-23 01:42 UTC (History)
1 user (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 Steve Herber 2004-05-16 23:28:42 UTC
Simple problem, I think, with one of the EVMS packages.
After this command completed without errors:

emerge -v evms   lvm-user lvm2 raidtools 

I got these errors when I tried to run the evms commands:

lurch conf.d # evms
evms: error while loading shared libraries: libevms-2.2.so.0: cannot open shared object file: No such file or directory
lurch conf.d # evmsgui
evmsgui: error while loading shared libraries: libevms-2.2.so.0: cannot open shared object file: No such file or directory
lurch conf.d # updatedb

lurch conf.d # locate libevms
/usr/lib/libevms.a
/usr/lib/libevms.so
/lib/libevms-2.2.so.0.2
/lib/libevms.so
        
I ran ldconfig and the gui started perfectly:
       
lurch conf.d # ldconfig
lurch conf.d # evmsgui

emerge unmerge emvs
emerge -v emvs
>>> /etc/evms.conf
>>> /etc/evms.conf.sample
--- /etc/init.d/
>>> /etc/init.d/evms
 * Presently gentoo-sources-2.4.22 has basic support for evms2,
 * but does NOT support some of the more advanced features.
>>> Regenerating /etc/ld.so.cache...
 * Caching service dependencies...
/var/lib/init.d/depcache: line 24: 192.168.168.4: command not found
>>> sys-fs/evms-2.2.2 merged.
>>> Recording sys-fs/evms in "world" favorites file...

>>> clean: No packages selected for removal.

>>> Auto-cleaning packages ...

>>> No outdated packages were found on your system.


 * GNU info directory index is up-to-date.


real    2m1.048s
user    1m31.130s
sys     0m13.547s
lurch conf.d # evmsgui 
evmsgui: error while loading shared libraries: libevms-2.2.so.0: cannot open shared object file: No such file or directory

lurch conf.d # ldconfig
lurch conf.d # evmsgui 

And it works again.

Reproducible: Always
Steps to Reproduce:
1. emerge evms
2. run evms or evmsgui
3.

Actual Results:  
gave this result:
evms: error while loading shared libraries: libevms-2.2.so.0: cannot open shared
object file: No such file or directory


Expected Results:  
No error, the program should have run.

lurch conf.d # emerge info
Portage 2.0.50-r6 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.2-r9, 2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 x86_64 4
Gentoo Base System version 1.4.10
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O2"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://mirror.tucdemonic.org/gentoo
ftp://ftp.mirrors.ussg.iu.edu/pub/linux/gentoo/  http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa amd64 apache2 apm avi berkdb cdr crypt cscope cups dvd dvdr encode
esd flac foomaticdb gdbm gif gnome gpm gtk gtk2 imlib joystick jpeg kde libg++
libwww lirc mad matroska mikmod motif mozilla mpeg mysql ncurses net nogcj
nvidia oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime
readline sdl slang spell ssl tcpd tiff transcode truetype usb xinerama xml2 xmms
xv zlib"
Comment 1 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-06-21 13:13:40 UTC
Not a kernel bug, throwing back to wranglers to properly file.
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2004-06-21 14:54:20 UTC
emvs is part of the x86-kernel herd.
Comment 3 Jeremy Huddleston (RETIRED) gentoo-dev 2004-07-23 01:42:04 UTC
fixed in portage.  thanks.