Re: ANSI fix breaks FreeBSD

2019-02-16 Thread Hal Murray via devel
> Can you isolate the commit where this got busted? It was at the top of the message: >> It worked a few days ago. It works if I comment out the pair >> of new lines in two files. That was the fix that made it work on NetBSD. -- These are my opinions. I hate spam.

Re: ANSI fix breaks FreeBSD

2019-02-16 Thread Eric S. Raymond via devel
Hal Murray via devel : > It worked a few days ago. It works if I comment out the pair of new lines in > two files. > > > [ 11%] Building C object CMakeFiles/runtests.dir/aes_siv_test.c.o > In file included from /home/murray/ntpsec/libaes_siv/aes_siv_test.c:3: > In file included from /home/murra

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/

ANSI fix breaks FreeBSD

2019-02-16 Thread Hal Murray via devel
It worked a few days ago. It works if I comment out the pair of new lines in two files. [ 11%] Building C object CMakeFiles/runtests.dir/aes_siv_test.c.o In file included from /home/murray/ntpsec/libaes_siv/aes_siv_test.c:3: In file included from /home/murray/ntpsec/libaes_siv/aes_siv.c:23: In

Re: Crap from test_ntpd - python3

2019-02-16 Thread James Browning via devel
On 2/16/19, Hal Murray via devel wrote: > This is the can't find library problem when run with Python 3. > ::snip:: > File "/home/murray/ntpsec/play/wafhelpers/bin_test.py", line 74, in run > addLog("PINK", "Expected: " + breg) > TypeError: can only concatenate str (not "bytes") to str It i

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

Crap from test_ntpd - python3

2019-02-16 Thread Hal Murray via devel
This is the can't find library problem when run with Python 3. [199/205] Processing fed/main/tests/pylib/test_agentx_packet.py [200/205] Processing fed/main/tests/pylib/test_packet.py [201/205] Processing fed/main/tests/pylib/test_statfiles.py [202/205] Processing fed/main/tests/pylib/test_util.py

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