Re: Any reason why building with OpenSSL shouldn't add its lib dir to rpath?

2015-02-18 Thread Tom Browder
I've now been able to use the latest OpenSSL for mod_ssl while keeping the system OpenSSL thanks to Ivan Ristic's examples in his books and tutorials. His method is to compile mod_ssl statically linked with the latest openssl while compiling all other modules dynamically. My slightly-modified

Re: Any reason why building with OpenSSL shouldn't add its lib dir to rpath?

2014-04-20 Thread Rainer Jung
On 14.04.2014 13:08, Jeff Trawick wrote: (not to say there aren't complications, like trying to keep system directories out of rpath) Adding my current workarounds for 2.4 here for reference. Here openssl_libs is either -ldl -lz (Linux) or -lz -ldl -lsocket -lnsl (Solaris). The value of

Re: Any reason why building with OpenSSL shouldn't add its lib dir to rpath?

2014-04-19 Thread Tom Browder
On Apr 14, 2014, at 13:30, Yann Ylavic ylavic@gmail.com 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

Re: Any reason why building with OpenSSL shouldn't add its lib dir to rpath?

2014-04-19 Thread olli hauer
On 2014-04-19 10:47, Tom Browder wrote: On Apr 14, 2014, at 13:30, Yann Ylavic ylavic@gmail.com 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

Re: Any reason why building with OpenSSL shouldn't add its lib dir to rpath?

2014-04-19 Thread Jeff Trawick
On Fri, Apr 18, 2014 at 2:39 PM, Rainer Jung rainer.j...@kippdata.dewrote: Hi Jeff, On 14.04.2014 13:08, Jeff Trawick wrote: (not to say there aren't complications, like trying to keep system directories out of rpath) See a related discussion from 2011 RUNPATH for module dependencies on

Re: Any reason why building with OpenSSL shouldn't add its lib dir to rpath?

2014-04-19 Thread Tom Browder
On Apr 19, 2014, at 12:06, olli hauer oha...@gmx.de wrote: Hi Tom, with apache 2.2.x or 2.4.x ? 2.4.7 at the moment but moving to latest release where I'll try forcing the local OpenSSL use. I raised this issue earlier but it got no traction-- probably because I didn't articulate the problem

Re: Any reason why building with OpenSSL shouldn't add its lib dir to rpath?

2014-04-19 Thread bara bere
2.2 2014-04-20 5:13 GMT+08:00, Tom Browder tom.brow...@gmail.com: On Apr 19, 2014, at 12:06, olli hauer oha...@gmx.de wrote: Hi Tom, with apache 2.2.x or 2.4.x ? 2.4.7 at the moment but moving to latest release where I'll try forcing the local OpenSSL use. I raised this issue earlier

Re: Any reason why building with OpenSSL shouldn't add its lib dir to rpath?

2014-04-18 Thread Rainer Jung
Hi Jeff, On 14.04.2014 13:08, Jeff Trawick wrote: (not to say there aren't complications, like trying to keep system directories out of rpath) See a related discussion from 2011 RUNPATH for module dependencies on Unix/Linux e.g. here: http://markmail.org/message/guastewy5uvn36s7 Joe had some

Any reason why building with OpenSSL shouldn't add its lib dir to rpath?

2014-04-14 Thread Jeff Trawick
(not to say there aren't complications, like trying to keep system directories out of rpath) -- Born in Roswell... married an alien... http://emptyhammock.com/ http://edjective.org/

Re: Any reason why building with OpenSSL shouldn't add its lib dir to rpath?

2014-04-14 Thread Yann Ylavic
I usually force it with ./configure LDFLAGS=-Wl,-rpath -Wl,/path/to/my/openssl. +1 to have this automagically done according to --with-ssl. On Mon, Apr 14, 2014 at 1:08 PM, Jeff Trawick traw...@gmail.com wrote: (not to say there aren't complications, like trying to keep system directories out

Re: Any reason why building with OpenSSL shouldn't add its lib dir to rpath?

2014-04-14 Thread Daniel Kahn Gillmor
On 04/14/2014 07:08 AM, Jeff Trawick wrote: (not to say there aren't complications, like trying to keep system directories out of rpath) I think that you're asking for mod_ssl to add an openssl-specific directory to its rpath. in general, i would discourage this; at the least, it needs to be

Re: Any reason why building with OpenSSL shouldn't add its lib dir to rpath?

2014-04-14 Thread Jeff Trawick
On Mon, Apr 14, 2014 at 8:04 AM, Daniel Kahn Gillmor d...@fifthhorseman.netwrote: On 04/14/2014 07:08 AM, Jeff Trawick wrote: (not to say there aren't complications, like trying to keep system directories out of rpath) I think that you're asking for mod_ssl to add an openssl-specific

Re: Any reason why building with OpenSSL shouldn't add its lib dir to rpath?

2014-04-14 Thread olli hauer
On 2014-04-14 13:08, Jeff Trawick wrote: (not to say there aren't complications, like trying to keep system directories out of rpath) On FreeBSD it is possible that a user has openssl 0.9.x or 1.0.x in the base OS (/usr/lib) but installs openssl 1.x.x from the ports system (/usr/local/lib).