Re: linking to libaes_siv

2019-02-18 Thread Hal Murray via devel
dfoxfra...@gmail.com said: > The BSDs work the same way Linux does except on FreeBSD the configuration > file is called /etc/ld-elf.so.conf and you run 'ldconfig -elf' after you've > changed it. Thanks. My NetBSD systems don't have a ldconfig. My FreeBSD systems don't come with a /etc/ld-elf

Re: linking to libaes_siv

2019-02-17 Thread Daniel Franke via devel
The BSDs work the same way Linux does except on FreeBSD the configuration file is called /etc/ld-elf.so.conf and you run 'ldconfig -elf' after you've changed it. Your distribution owns /usr and packages not installed through your distribution's packaging system shouldn't touch it and should defaul

Re: linking to libaes_siv

2019-02-17 Thread Eric S. Raymond via devel
Hal Murray : > > Let us know what work - it should be documented. > > This is what I used on Linux: > > echo "/usr/local/lib/" > /etc/ld.so.conf.d/libaes_siv.conf > ldconfig > > > This is what I used on NetBSD and FreeBSD. There is probably a > better/cleaner > way, but I wasn't in the mood

Re: linking to libaes_siv

2019-02-16 Thread Hal Murray via devel
> Let us know what work - it should be documented. This is what I used on Linux: echo "/usr/local/lib/" > /etc/ld.so.conf.d/libaes_siv.conf ldconfig This is what I used on NetBSD and FreeBSD. There is probably a better/cleaner way, but I wasn't in the mood to go hunting for it. cd /usr/lib/

Re: linking to libaes_siv

2019-02-16 Thread Daniel Franke via devel
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 wrote: > > Hal Murray via devel : > > The symptom is that it links but doesn't run. At run

Re: linking to libaes_siv

2019-02-16 Thread Hal Murray via devel
devel@ntpsec.org said: > This is on Linux? Make sure /usr/local/lib is in your /etc/ld.so.conf and > then run ldconfig. Yes, Fedora. Worked. Thanks. My /etc/ld.so.conf had only: include ld.so.conf.d/*.conf and that directory is empty. -- These are my opinions. I hate spam. ___

Re: linking to libaes_siv

2019-02-16 Thread Eric S. Raymond via devel
Hal Murray via devel : > 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

Re: linking to libaes_siv

2019-02-16 Thread Daniel Franke via devel
This is on Linux? Make sure /usr/local/lib is in your /etc/ld.so.conf and then run ldconfig. On Sat, Feb 16, 2019 at 9:46 AM Hal Murray wrote: > > > I'm getting closer to actually using it. > > Of course, it didn't work or you wouldn't be reading this message. > > The symptom is that it links but

linking to libaes_siv

2019-02-16 Thread Hal Murray via devel
I'm getting closer to actually using it. Of course, it didn't work or you wouldn't be reading this message. 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/l