[Privoxy-devel] OpenSSL library location
Ian Silvester
iansilvester at fastmail.fm
Sat Dec 3 21:30:33 CET 2022
Hi all,
Somewhat noob questions about how privoxy locate(s) the openssl library file at runtime versus the setup on my build machine.
In order to have the headers installed for compilation, I installed OpenSSL on the Mac via Homebrew. This installs a hive under /usr/local/opt/openssl. The Mac however comes with OpenSSL libraries at /usr/lib. If I include the libraries in my install package from /usr/local/opt/openssl/lib, will Privoxy find this version of the library automatically, or will it rely on the PATH of the target machine and hence find the wrong version at /usr/lib? I hardly think I can go overwriting the system built-in library files, so what to do?
I appreciate this is a very generic "how to package software with external library dependencies" question, but I don't want to distribute something that kind-of sort-of works but might be using down-level libraries.
Thanks in advance for any schooling!
Ian
More information about the Privoxy-devel
mailing list