Re: Build from source; library not found?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On May 18, 2017, at 4:08 PM, Richard Levitte <levitte@xxxxxxxxxxx> 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



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux