> On May 18, 2017, at 4:08 PM, Richard Levitte <levi...@openssl.org> wrote:
> 
> hiran.chaudhuri>     Incidently, I think that when you do this, you'll find 
> that it
> hiran.chaudhuri>     finds
> hiran.chaudhuri>     your libraries all right:
> hiran.chaudhuri> 
> hiran.chaudhuri>     $ ldd /prefix/openssl/bin/openssl
> hiran.chaudhuri> 
> hiran.chaudhuri> Now this is interesting. Yes, openssl can find both the 
> libraries
> hiran.chaudhuri> libssl and libcrypto. Would that imply that rpath is only a 
> setting
> hiran.chaudhuri> for application (executables) but not for shared libraries?
> hiran.chaudhuri> In that case the test I tried would be totally meaningless.
> 
> Yes, that's correct.

NO, it is not correct, shared libraries also have rpaths for their
own dependencies.  And when building OpenSSL for installation in
non-default locations (not /usr/lib and the like) the libraries
should have an rpath.

-- 
        Viktor.

-- 
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users

Reply via email to