Re: [openssl-dev] [Bug, maybe] [master] bin/* no longer find their libraries if installed in non-default locations

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

 



> On Mar 1, 2017, at 11:13 AM, Steffen Nurpmeso <steffen@xxxxxxxxxx> wrote:
> 
>  $ ldd /home/steffen/usr/opt/.ssl-1.1.0/bin/openssl
>  ...
>  libssl.so.1.1 => not found
>  libcrypto.so.1.1 => not found
> 
> This is new behaviour, until now the installation was always
> self-contained when configured via
> 
>  ./config --prefix=$(MYPREFIX) zlib-dynamic no-hw shared

I sure hope that "$()" was in fact "${}", the former only
works in Makefiles, and means something quite different
in POSIX shells.

You need an "RPATH" setting in the linker flags for the shared
libraries to be found in in $PREFIX/lib.  Perhaps:

    ./config --prefix="${MYPREFIX}" -R "${MYPREFIX}/lib" ...

Or "-rpath ..." or "-Wl,-R,..." ...

-- 
	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