On 2014-04-19 10:47, Tom Browder wrote: >> On Apr 14, 2014, at 13:30, Yann Ylavic <[email protected]> wrote: >> >> I usually force it with ./configure LDFLAGS="-Wl,-rpath >> -Wl,/path/to/my/openssl". >> +1 to have this automagically done according to --with-ssl > > So that should solve the problem I have on Debian > where I can't get my version of Apache to use my version of openssl! > > I tried to remove my system version of OpenSSL but ran into too many > dependency issues that I wasn't willing to deal with. >
Hi Tom, with apache 2.2.x or 2.4.x ? On FreeBSD 10 (with openssl-1.0.x) in the base system and the same version in the ports we saw a similar issue. LDFLAGS= -L/path/to/ports/openssl/lib was not honored by apache 2.2, but by apache 2.4 and by apr/apr-util The following hack solved this: sed -e "s|(ALL_CFLAGS)|(ALL_CFLAGS) -L/path/to/ports/openssl/lib|" build/rules.mk.in -- olli
