upgrade screw up

Christopher christopher.carroll at birch.net
Sun May 23 02:00:16 CEST 2004


On Sat, 2004-05-22 at 18:37, Terence Golightly wrote:
> On Sat, 2004-05-22 at 17:34, Christopher wrote:
> > On Sat, 2004-05-22 at 15:08, Terence Golightly wrote:
> > > Greetings,
> > > 
> > > Awhile back I upgraded XFCE4.0.4 to XFCE4.0.5 using Charles Eslarhc's
> > > site set up using urpmi. Unfortunately, in my haste forgot that the old
> > > version was one I installed using CVS.  I know get the following error
> > > message:
> > > 
> > > [root at tbox root]# ldconfig               
> > > ldconfig: /usr/lib/libdbh-1.0.so.1 is not a symbolic link
> 
> 
> [terryg at tbox terryg]$ ls -l /usr/lib/libdbh*
> -rwxr-xr-x  1 root root 22560 Apr 11 13:41 /usr/lib/libdbh-1.0.so.1*
> -rwxr-xr-x  1 root root 22560 Apr 11 13:41 /usr/lib/libdbh-1.0.so.1.0.0*
> lrwxrwxrwx  1 root root    15 Apr 24 22:16 /usr/lib/libdbh-1.0.so.1.0.1
> -> libdbh-1.0.so.1*
> -rw-r--r--  1 root root 53216 Apr 11 13:41 /usr/lib/libdbh.a
> -rwxr-xr-x  1 root root   788 Apr 11 13:41 /usr/lib/libdbh.la*
> -rwxr-xr-x  1 root root 22560 Apr 11 13:41 /usr/lib/libdbh.so*
[snip]

> # Names of this library.
> library_names='libdbh-1.0.so.1.0.0 libdbh-1.0.so.1 libdbh.so'
> 
[snip]

So it looks like libdbh-1.0.so.1 and libdbh.so should both be symlinks
to libdbh-1.0.so.1.0.0 and libdbh-1.0.so.1.0.1 shouldn't be there at all
(I guess that's left over from your previous cvs version - but since its
not listed in the .la file its probably not causing any problems - I'd
remove it just the same.)  Make sure this is consistent with what rpm
says the libdbh package contains.

> If I uninstall libdbh won't dependencies be broken? If I can get away
> with it like leaving X and going to a root screen XFCE won'd be "active"
> the it should be safe to do?

The reason I suggested uninstalling and reinstalling is to potentially
be able to track down what caused the problem in the first place.  I
don't know much about rpm but I would think it would have some sort of
force option to ignore dependencies (maybe I'm wrong) - the broken
dependencies would be fixed after you reinstalled.

However, its probably easier to just back up the files as they are now
and then delete the extra one and turn the other two into symlinks to
libdbh-1.0.so.1.0.0.  Maybe that's the way to go - its safe too since
you'll back up first.

In either case you you shouldn't have to leave X to do so - if you're in
xfce the libdbh will have already been loaded.  Restart X after you're
done.

Hope this helps - good luck.





More information about the Xfce mailing list