Re: Compile 12.2 with specific OpenSSL libraries

2020-09-29 Thread Joshua Poehls
Thanks, Tom. I really appreciate you taking the time to help me out! I think I'm good now. I ran `readelf -d libpq.so | grep runpath` and I see that the path I specified in --with-libraries is present (albeit after my system path). It also appears the version I expected of libssl is being used (li

Re: Compile 12.2 with specific OpenSSL libraries

2020-09-29 Thread Tom Lane
Joshua Poehls writes: > rpath and LD_LIBRARY_PATH are only relevant for the runtime > linking/resolution, right? My concern is that at *compilation time* the > wrong version of OpenSSL is being picked up. No; --with-libraries will control what's linked against. The problem you face is that the d

Re: Compile 12.2 with specific OpenSSL libraries

2020-09-29 Thread Joshua Poehls
rpath and LD_LIBRARY_PATH are only relevant for the runtime linking/resolution, right? My concern is that at *compilation time* the wrong version of OpenSSL is being picked up. Is there a way to see the full library/header path the compiler is using so that I can verify the path I specified with --

Re: Compile 12.2 with specific OpenSSL libraries

2020-09-29 Thread Tom Lane
Joshua Poehls writes: > I'm compiling PG 12.2 (on CentOS 7) and need to ensure that it uses a > specific version of OpenSSL (1.1.1h). I've added what I think are the > appropriate `./configure` flags (see below) and compilation is successful > but when I run `ldd -d initdb` or `readelf` I can see