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

noloader@gmail.com via RT rt at openssl.org
Sun Apr 26 17:02:42 UTC 2015


On Sun, Apr 26, 2015 at 8:21 AM, Kurt Roeckx via RT <rt at openssl.org> wrote:
> 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.

In this case, no. But I will need it when I install in /opt.

>> ./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/.
1.0.2.a is installed in /usr/local/ssl. I was being kind of lazy by
building in my home directory trying to pickup the libraries that were
already installed.

But I also tried /usr/local/ssl/lib with no joy either.




More information about the openssl-dev mailing list