[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-httpd-dev
Subject:    Re: Linking mod_ssl with a specific OpenSSL version
From:       Kaspar Brand <httpd-dev.2012 () velox ! ch>
Date:       2012-09-19 14:42:06
Message-ID: 5059D9BE.4060704 () velox ! ch
[Download RAW message or body]

On 18.09.2012 17:55, Ben Laurie wrote:
> though I still have to actually install openssl somewhere,
> which would be irritating if I had to do any serious development. That
> said, I could probably figure out how to work around that if I needed
> to...

Something like the following will make your OpenSSL build directory
behave like an installation directory to httpd's configure:

  cd /wherever/the/compiled/openssl/sources/are
  mkdir -p lib/pkgconfig
  echo prefix=`pwd` > lib/pkgconfig/openssl.pc
  tail +2 openssl.pc >> lib/pkgconfig/openssl.pc
  cd lib
  for l in ../*.a ../*.so*; do ln -s $l; done

(by omitting the symlinks for *.so*, it's possible to force the static
versions of libcrypto and libssl being used for mod_ssl)

> Now ... what about the backport? :-)

Proposed for 2.4 in r1387613.

Kaspar
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic