linking to libaes_siv

Hal Murray hmurray at megapathdsl.net
Tue Feb 19 02:43:26 UTC 2019


dfoxfranke at 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.so.conf
I tried putting /usr/local/lib/ in there but it didn't work.
But waf configure can't find it.
???  Maybe I fatfingered something.

But there is lots of stuff in /usr/local/lib/
So I'm guessing that it's on the default search path or something.

Ahhh.  To take a sample, there are files also in /usr/lib/

[murray at ted3 ~/ntpsec/play]$ locate libarchive.so
/usr/lib/libarchive.so
/usr/lib/libarchive.so.7
/usr/lib32/libarchive.so
/usr/lib32/libarchive.so.7
/usr/local/lib/libarchive.so
/usr/local/lib/libarchive.so.13
/usr/local/lib/libarchive.so.13.3.3
[murray at ted3 ~/ntpsec/play]$ 

-r--r--r--  1 root  wheel  796928 Dec  6 20:11 /usr/lib/libarchive.so.7
lrwxr-xr-x  1 root  wheel      15 Dec  6 20:11 /usr/lib/libarchive.so -> 
libarchive.so.7
-rwxr-xr-x  1 root  wheel  794680 Jan  9 17:10 /usr/local/lib/libarchive.so.13.
3.3
lrwxr-xr-x  1 root  wheel      20 Jan  9 17:10 /usr/local/lib/libarchive.so.13 
-> libarchive.so.13.3.3
lrwxr-xr-x  1 root  wheel      20 Jan  9 17:10 /usr/local/lib/libarchive.so -> 
libarchive.so.13.3.3

That's as far as I've gotten.

I'll read the man page more carefully when I need a break.


-- 
These are my opinions.  I hate spam.





More information about the devel mailing list