<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>51252</bug_id>
          
          <creation_ts>2004-05-16 23:28 0000</creation_ts>
          <short_desc>EVMS: after install emerge needs an ldconfig</short_desc>
          <delta_ts>2004-07-23 01:42:04 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Server</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>herber@thing.com</reporter>
          <assigned_to>eradicator@gentoo.org</assigned_to>
          <cc>x86-kernel@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>herber@thing.com</who>
            <bug_when>2004-05-16 23:28:42 0000</bug_when>
            <thetext>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
&gt;&gt;&gt; /etc/evms.conf
&gt;&gt;&gt; /etc/evms.conf.sample
--- /etc/init.d/
&gt;&gt;&gt; /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.
&gt;&gt;&gt; Regenerating /etc/ld.so.cache...
 * Caching service dependencies...
/var/lib/init.d/depcache: line 24: 192.168.168.4: command not found
&gt;&gt;&gt; sys-fs/evms-2.2.2 merged.
&gt;&gt;&gt; Recording sys-fs/evms in &quot;world&quot; favorites file...

&gt;&gt;&gt; clean: No packages selected for removal.

&gt;&gt;&gt; Auto-cleaning packages ...

&gt;&gt;&gt; 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=&quot;amd64&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-O2&quot;
CHOST=&quot;x86_64-pc-linux-gnu&quot;
COMPILER=&quot;gcc3&quot;
CONFIG_PROTECT=&quot;/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&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-O2&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs ccache sandbox&quot;
GENTOO_MIRRORS=&quot;http://mirror.tucdemonic.org/gentoo
ftp://ftp.mirrors.ussg.iu.edu/pub/linux/gentoo/  http://mirror.datapipe.net/gentoo&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;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&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gregkh@gentoo.org</who>
            <bug_when>2004-06-21 13:13:40 0000</bug_when>
            <thetext>Not a kernel bug, throwing back to wranglers to properly file.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mr_bones_@gentoo.org</who>
            <bug_when>2004-06-21 14:54:20 0000</bug_when>
            <thetext>emvs is part of the x86-kernel herd.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>eradicator@gentoo.org</who>
            <bug_when>2004-07-23 01:42:04 0000</bug_when>
            <thetext>fixed in portage.  thanks.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>