linking to libaes_siv
Daniel Franke
dfoxfranke at gmail.com
Sat Feb 16 15:12:10 UTC 2019
His problem had nothing to do with waf or ntpd. ld.so.conf is magic
used by the ELF loader to locate the libraries it needs -- at runtime,
not at link time.
On Sat, Feb 16, 2019 at 10:09 AM Eric S. Raymond <esr at thyrsus.com> wrote:
>
> Hal Murray via devel <devel at ntpsec.org>:
> > The symptom is that it links but doesn't run. At runtime, it can't find
> > libaes_siv
> >
> > It was installed in /usr/local/lib/
> >
> > It works after I add links from /usr/lib64/ over to /usr/local/lib/
>
> I suppose a more graceful solution would be to beat waf into looking at
> /usr/local/lib. This might do it:
>
> ./waf configure [your-usual-options] --libdir=/usr/local/lib
>
> That's assuming --libdir is additive. It's also passible you might have
> to mwess with PKG_CONFIG_PATH, as in this report:
>
> https://github.com/MTG/essentia/issues/248
>
> Let us know what work - it should be documented.
> --
> <a href="http://www.catb.org/~esr/">Eric S. Raymond</a>
>
> My work is funded by the Internet Civil Engineering Institute: https://icei.org
> Please visit their site and donate: the civilization you save might be your own.
>
>
More information about the devel
mailing list