OK Dumb question regarding uninstalling libs

James McDonald james
Mon May 17 11:45:45 PDT 2004


Tim Wunder wrote:

>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? 
>

Yes I have put the LD_LIBRARY_PATH env var in... I just was wondering if 
the ./configure script has a preference for how it locates the libs... I 
know it will look in ld_lib_path but doesn't it stop at that or what.

Maybe someone could point me to a good resource for the whole configure 
make aclocal intltool pkg-config process...


>
>HTH, 
>Tim
>
>  
>




More information about the Linux-users mailing list