On 27/08/20 10:41 pm, Dave Lewthwaite wrote: > Hello, > > > > I am having some trouble compiling squid using a custom build of openssl > – it seems it is unable to find the libraries during run-time. > > > > OpenSSL 1.1.1g is compiled and installed (setting prefix and openssldir) > to /home/centos/openssl – the libraries are present there as are all the > headers. > > > > Squid is built using –with-openssl=/home/centos/openssl – it builds > correctly, references the correct includes, libraries etc. However when > the resulting binary is run, it is unable to find the OpenSSL libs – > Looks like you need to set the environment LD_LIBRARY_PATH variable when starting Squid. <https://blog.andrewbeacock.com/2007/10/how-to-add-shared-libraries-to-linuxs.html> ... > If I install the 1.1.1g libs into /lib64 then squid will run – have I > made an assumption on my part that this isn’t required? I was under the > impression that squid would run with an entirely standalone build of > OpenSSL. Squid should, yes. Amos _______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users