[exim] Re: undefined reference to `SSL_get0_chain_certs' error on compile

2023-12-18 Thread Ian B via Exim-users
Apologies, yes you're right. The LD_LIBRARY_PATH was actually just for me to test the different version of openssl from the console and not necessary at all as part of exim. Thanks for pointing that out! On Sat, Dec 16, 2023 at 6:13 PM Viktor Dukhovni via Exim-users < exim-users@lists.exim.org> w

[exim] Re: undefined reference to `SSL_get0_chain_certs' error on compile

2023-12-16 Thread Viktor Dukhovni via Exim-users
On Sat, Dec 16, 2023 at 09:44:59AM +, Ian B via Exim-users wrote: > In the meantime I think I've just got it working ok with exporting > LD_LIBRARY_PATH and CC=gcc -std=gnu99 -lrt -I/usr/local/ssl/ > -L/usr/local/ssl/lib -Wl,-rpath,/usr/local/ssl/lib (not even sure those are > correct just atm

[exim] Re: undefined reference to `SSL_get0_chain_certs' error on compile

2023-12-16 Thread Ian B via Exim-users
Thanks, I couldn't seem to get that route working (didn't seem to create the libssl.so.1.1 files, so would get error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory ) I think I'm misunderstanding some of the bits you've posted though around

[exim] Re: undefined reference to `SSL_get0_chain_certs' error on compile

2023-12-15 Thread Viktor Dukhovni via Exim-users
On Fri, Dec 15, 2023 at 12:26:53PM +, Ian B via Exim-users wrote: > Just wanted to say thanks, I got this all working after the full install. > > (I've compiled a later release of openssl into /usr/local/ssl and created > /etc/ld.so.conf.d/openssl.conf with the lib in there, followed by ldconf

[exim] Re: undefined reference to `SSL_get0_chain_certs' error on compile

2023-12-15 Thread Ian B via Exim-users
Just wanted to say thanks, I got this all working after the full install. (I've compiled a later release of openssl into /usr/local/ssl and created /etc/ld.so.conf.d/openssl.conf with the lib in there, followed by ldconfig if anyone has similar issues). On Thu, Dec 14, 2023 at 5:10 PM Ian B wrot

[exim] Re: undefined reference to `SSL_get0_chain_certs' error on compile

2023-12-14 Thread Ian B via Exim-users
Thanks. This is possible, the old version is still installed, but I was testing direct from the compiled binary directory assuming (probably incorrectly by the sounds of things) it was self contained except for the config. Is there a way to test without the other in conflict, or do you have to go

[exim] Re: undefined reference to `SSL_get0_chain_certs' error on compile

2023-12-14 Thread Ian Z via Exim-users
On Thu, Dec 14, 2023 at 02:03:30PM +, Ian B via Exim-users wrote: > Thanks, default was OpenSSL 1.0.1e-fips however, I've just tried > compiling a new OpenSSL 1.1.1w, (output below), but weirdly I get an > error when testing sending a message with it... > exim: malformed message id 1rDlww-000