gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-dev] scons uninstall misses links to libraries


From: Gary E. Miller
Subject: Re: [gpsd-dev] scons uninstall misses links to libraries
Date: Mon, 23 Mar 2015 18:10:24 -0700

Yo Hal!

On Mon, 23 Mar 2015 17:58:23 -0700
Hal Murray <address@hidden> wrote:

> 
> from scons -n install
> 
> Install file: "libgps.so.22.0.0" as "/usr/local/lib/libgps.so.22.0.0"
> cd //usr/local/lib; rm -f libgps.so; ln -s libgps.so.22.0.0 libgps.so
> cd //usr/local/lib; rm -f libgps.so.22; ln -s libgps.so.22.0.0
> libgps.so.22 cd //usr/local/lib; rm -f libgps.so.22.0; ln -s
> libgps.so.22.0.0 libgps.so.22.0
> strip /usr/local/lib/libgps.so.22.0.0
> 
> 
> from scons -n uninstall
> 
> Delete("/usr/local/bin/gpsmon")
> Delete("/usr/local/lib/libgps.so.22.0.0")
> Delete("/usr/lib64/python2.7/site-packages/gps/clienthelpers.so")
> 
> There is a meta-problem:
>   When you make changes like no longer installing libgpsd, any old
> copies get left installed.

Yeah, that should be an INSTALL note. You can not delete them as the
user may have an old gpsd laying around.  I commonly rename gpsd to
gpsd.OLD just uncase the update fails.
 
> or maybe two:
>   When you bump the version number, the old version gets left
> installed.

IMHO: that is the proper thing to do.  Other packages may be linked
to the old libgps.so.

Gentoo has a program (revdep-rebuild) that checks for old versions of
libraries that are still used.  It rebuilds what it can and warns abou
the rest.  Very helpful.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97701
        address@hidden  Tel:+1(541)382-8588



reply via email to

[Prev in Thread] Current Thread [Next in Thread]