[openssl-dev] [openssl.org #3822] BUG: Configure does not set RPATH correctly

Kurt Roeckx via RT rt at openssl.org
Sun Apr 26 12:21:42 UTC 2015


On Sun, Apr 26, 2015 at 02:09:17PM +0200, noloader at gmail.com via RT wrote:
> This discussion relates to 1.0.2a. But I know its applies to other
> versions from all the changes I've had to make to Makefile.org.
> 
> I'm not sure if this me using Configure incorrectly, or a bug in
> Configure. I suspect its the later.
> 
> Below, I used both --prefix and --openssldir in an attempt to set them.
> 
> If there is difficulty in determining what should be done, then
> perhaps there should be a --rpath Configure option.

I'm not sure why you have a need for an rpath in the first place.

> ./Configure linux-x86_64 shared no-ssl2 no-ssl3 no-comp
> --openssldir=/usr/local/ssl --prefix=/usr/local/ssl
> make depend
> make
> ldd ./apps/openssl
>     linux-vdso.so.1 =>  (0x00007ffc555f8000)
>     libssl.so.1.0.0 => /lib/x86_64-linux-gnu/libssl.so.1.0.0
> (0x00007fa0e8174000)
>     libcrypto.so.1.0.0 => /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
> (0x00007fa0e7d99000)
>     ...

What did you expect this to return?  Even if you had an rpath,
but no files are in /usr/local/ssl/ it would still search in
/lib/x86_64-linux-gnu/.



Kurt




More information about the openssl-dev mailing list