gpsd-dev
[Top][All Lists]
Advanced

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

Re: [gpsd-dev] libgps?


From: Gary E. Miller
Subject: Re: [gpsd-dev] libgps?
Date: Mon, 23 Mar 2015 13:25:03 -0700

Yo Eric!

On Mon, 23 Mar 2015 16:05:20 -0400
"Eric S. Raymond" <address@hidden> wrote:

> Gary E. Miller <address@hidden>:
> > This does NOT work:
> > 
> > # git pull
> > # rm -rf .sco*
> > # rm /usr/local/lib/libgps*
> > # rm /usr/local/sbin/gpsd
> > # scons --clean
> > # scons distclean
> > # scons --config=force qt=no  && scons install && ldconfig
> > # /usr/local/sbin/gpsd
> > /usr/local/sbin/gpsd: error while loading shared libraries:
> > libgpsd.so.22: cannot open shared object file: No such file or
> > directory
> 
> Looks like libgpsd.so.22 is not present on your load path.
> Check /usr/local/lib after the build step to make sure it's there.

Nope it is not:

dagwood gpsd # ls -l /usr/local/lib/libgps*
lrwxrwxrwx 1 root root     16 Mar 23 12:43 /usr/local/lib/libgps.so -> 
libgps.so.22.0.0
lrwxrwxrwx 1 root root     16 Mar 23 12:43 /usr/local/lib/libgps.so.22 -> 
libgps.so.22.0.0
lrwxrwxrwx 1 root root     16 Mar 23 12:43 /usr/local/lib/libgps.so.22.0 -> 
libgps.so.22.0.0
-rwxr-xr-x 1 root root 122504 Mar 23 12:43 /usr/local/lib/libgps.so.22.0.0

Nor is it being rebuilt:

dagwood gpsd # ls libgps*.so* -l
lrwxrwxrwx 1 root root     17 Mar 12 13:02 libgpsd.so -> libgpsd.so.22.0.0
lrwxrwxrwx 1 root root     17 Mar 12 13:02 libgpsd.so.22 -> libgpsd.so.22.0.0
lrwxrwxrwx 1 root root     17 Mar 12 13:02 libgpsd.so.22.0 -> libgpsd.so.22.0.0
-rwxr-xr-x 1 root root 404528 Mar 12 13:02 libgpsd.so.22.0.0

Which is wrong on three counts:
1. scons distclean did not remove the old libgpsd*
2. scons install did not remake the old libgpsd*
3. scons install did not install the old or new libgpsd*

> I'm in the process of simplifyting the build in a way that will
> address these problems.  Now, libgpsd is *always* statically linked
> from the build dir and not exported to system space.  Since we
> haven't actually installed gpsd.h for a long time this isn't a
> functional regression.

Is this in git head?  Be sure scons install cleans out the old copies
of now no longer used stuff.

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]