[Top][All Lists]

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

Re: Question about gpsd library/linking for an external gpsd client?

From: Gary E. Miller
Subject: Re: Question about gpsd library/linking for an external gpsd client?
Date: Thu, 4 Jun 2020 12:27:28 -0700

Yo Greg!

On Thu, 04 Jun 2020 15:00:27 -0400
Greg Troxel <> wrote:

> "Gary E. Miller" <> writes:
> > Yo Curtis!
> >
> > On Thu, 4 Jun 2020 11:47:03 -0500
> > Curtis Olson <> wrote:  
> >> scons install doesn't seem to install libgps.a.  
> >
> > Correct, by default.  Because the default is to build and install
> > the shared
> >
> > Distros hate static libs.  
> Linux distributions perhaps.  pkgsrc, following BSD norms, more or
> less expects there to be both a .a  and a .so, so that users who are
> linking however they want.  I checked one of my boxes and
> /usr/pkg/lib has 124 .a files and 126 .so.
> It is true that packaging systems do not want things *in the packaging
> system* to link with static libs or to build copies of things that
> should be packages.

You're gonna love Go.  :-)

> > Maybe gpsd should have the option for both instead of either or.
> >
> > If you want libgps.a, set shared=false when you configure gpsd.  
> That seems to turn off .so, or at least that's what it says.  Really
> there should be a staticlib=true even if it defaults to off, that
> doesn't disable shlibs.

Yeah, they need to be independent.  I'll work on that after I find
where the .so went.

Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
    "If you can't measure it, you can't improve it." - Lord Kelvin

Attachment: pgppZCg3Li0jC.pgp
Description: OpenPGP digital signature

reply via email to

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