[rhn-users] rpm problem

Mike Tran mtran at opsec.usda.gov
Thu Oct 21 23:22:13 UTC 2004


Good point brian, i did do that and it's there:


 ls -la /usr/lib/librpm*
-rw-r--r--    1 root     root       445008 Aug 25 15:34
/usr/lib/librpm.a
-rw-r--r--    1 root     root       202424 Aug 25 15:34
/usr/lib/librpmbuild.a
-rwxr-xr-x    1 root     root         1023 Aug 25 15:34
/usr/lib/librpmbuild.la
lrwxrwxrwx    1 root     root           18 Oct 20 10:48
/usr/lib/librpmbuild.so -> librpmbuild-4.2.so
-rw-r--r--    1 root     root       149246 Aug 25 15:34
/usr/lib/librpmdb.a
-rwxr-xr-x    1 root     root          962 Aug 25 15:34
/usr/lib/librpmdb.la
lrwxrwxrwx    1 root     root           15 Oct 20 10:48
/usr/lib/librpmdb.so -> librpmdb-4.2.so
-rw-r--r--    1 root     root       260008 Aug 25 15:34
/usr/lib/librpmio.a
-rwxr-xr-x    1 root     root          915 Aug 25 15:34
/usr/lib/librpmio.la
lrwxrwxrwx    1 root     root           15 Oct 20 10:48
/usr/lib/librpmio.so -> librpmio-4.2.so
-rwxr-xr-x    1 root     root          969 Aug 25 15:34
/usr/lib/librpm.la
lrwxrwxrwx    1 root     root           13 Oct 20 10:48
/usr/lib/librpm.so -> librpm-4.2.so


On Thu, 2004-10-21 at 22:58, Brian C. Hill wrote:
> 	Did you do an ls to see if the file is actually there?
> locate's results come from a DB that is usually built daily.  It is
> possible that the file got tossed between the last DB update and when
> you started with your attempt to upgrade rpm.
> 
>         ls -l /usr/lib/librpm*
> 
> Brian
> ======================================================================
> On Thu, Oct 21, 2004 at 04:05:40PM +0000, Mike Tran wrote:
> > Hi all,
> > 
> > I am trying to do an upgrade on my rpm packagage from version 4.2.2-0.14
> > to rpm-4.2.3-10. It complainded that it couldn't find librpm-4.2.so, but
> > when i did a locate, librpm is in /usr/lib/ (see below). I don't know
> > where the installed rpm is looking for librpm. How do i tell rpm to look
> > for librpm.so in /usr/lib/ ?
> > 
> > root at myhost:{181} rpm -q rpm
> > rpm: error while loading shared libraries: librpm-4.2.so: cannot open
> > shared object file: No such file or directory
> > 
> > root at myhost:rpm {182} locate librpm-4.2.so 
> > /usr/lib/librpm-4.2.so
> > 
> > 
> > Thanks you in advance for any suggestions.
> > 
> > Mike
> > 
> > 
> > 
> > 
> > 
> > _______________________________________________
> > rhn-users mailing list
> > rhn-users at redhat.com
> > https://www.redhat.com/mailman/listinfo/rhn-users
-- 
Mike Tran <mtran at opsec.usda.gov>




More information about the rhn-users mailing list