OK Dumb question regarding uninstalling libs

Tim Wunder tim
Mon May 17 11:45:43 PDT 2004


On Tuesday 18 March 2003 8:47 am, someone claiming to be Net Llama! wrote:
> On Tue, 18 Mar 2003, James McDonald wrote:
> > OK let's say that I had glib-2.0 installed in the default location of
> > /usr it's the default mandrake 9.0 rpm install.
> >
> > Then I go and download the latest src.tar.gz version and ./configure it
> > with the defaults and install the new version in /usr/local
> >
> > How do I un-install the old version in /usr without breaking all the
> > dependences and have the apps that where looking in /usr/* for the
> > libraries now reference /usr/local....
>
> This should be a nonissue, as the dynamic linker (ldd) takes care of this
> stuff.
>

I think I'd have tried compiling glib with --prefix=/usr and using 
checkinstall to make an RPM out of it. Either that, or grabbed a glib SRPM 
from Mandrake's cooker site.

But, short of that, can't you use the LD_LIBRARY_PATH environment variable, 
setting it to /usr/local/lib? 

HTH, 
Tim

-- 
RedHat Psyche 8.0, stock kernel, KDE 3.1.CVS, Xfree86 4.2.1
  6:20pm  up 10 days,  1:37,  3 users,  load average: 0.04, 0.21, 0.14
It's what you learn after you know it all that counts



More information about the Linux-users mailing list