mailing list of musl libc
 help / color / Atom feed
* [musl] Musl loader and malformed ORIGIN-based runpath's
@ 2020-07-17 15:47 Jeffrey Walton
  0 siblings, 0 replies; only message in thread
From: Jeffrey Walton @ 2020-07-17 15:47 UTC (permalink / raw)
  To: musl

Hi Everyone,

Below is an audit of projects that mishandle ORIGIN-based runpaths. It
is the result of building OpenSSH and its dependencies on Solaris.
(Sun provides an old copy of OpenSSH that only supports RSA).

Notice the number of libraries that mishandle
-Wl,-rpath,$ORIGIN/../lib. They include Nettle and Perl.

Perl builds makefiles on the fly so I cannot fix the makefiles before
running make. Perl's problem has been reported but there is no
interest in fixing it: https://github.com/Perl/perl5/issues/17534.

I really feel the Musl loader needs to be a little more forgiving. If
it encounters a bad rpath or runpath, then discard the bad path only.
Keep the good ones.

====================

jwalton@solaris:$ ./rpath-libs.sh /opt/ssh/lib
****************************************
/opt/ssh/lib/libtinfo.so:

RUNPATH $ORIGIN/../lib:/opt/ssh/lib
RPATH $ORIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libgettextsrc.so:

RUNPATH /opt/ssh/lib:$ORIGIN/../lib
RPATH /opt/ssh/lib:$ORIGIN/../lib
****************************************
/opt/ssh/lib/libdb-6.2.so:

RUNPATH $ORIGIN/../lib:/opt/ssh/lib
RPATH $ORIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libgmp.so.10:

RUNPATH $ORIGIN/../lib:/opt/ssh/lib
RPATH $ORIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libhogweed.so.6.0:

RUNPATH RIGIN/../lib:/opt/ssh/lib
RPATH RIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libpanel.so:

RUNPATH $ORIGIN/../lib:/opt/ssh/lib
RPATH $ORIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libform.so.6.1:

RUNPATH $ORIGIN/../lib:/opt/ssh/lib
RPATH $ORIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libexpat.so.1:

RUNPATH $ORIGIN/../lib:/opt/ssh/lib
RPATH $ORIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libdb_cxx-6.so:

RUNPATH $ORIGIN/../lib:/opt/ssh/lib
RPATH $ORIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libgettextpo.so:

RUNPATH /opt/ssh/lib:$ORIGIN/../lib
RPATH /opt/ssh/lib:$ORIGIN/../lib
****************************************
/opt/ssh/lib/libpanel.so.6.1:

RUNPATH $ORIGIN/../lib:/opt/ssh/lib
RPATH $ORIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libexpat.so.1.6.11:

RUNPATH $ORIGIN/../lib:/opt/ssh/lib
RPATH $ORIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libhogweed.so.6:

RUNPATH RIGIN/../lib:/opt/ssh/lib
RPATH RIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libdb_cxx.so:

RUNPATH $ORIGIN/../lib:/opt/ssh/lib
RPATH $ORIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libz.so:

RUNPATH $ORIGIN/../lib:/opt/ssh/lib
RPATH $ORIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libncurses.so.6:

RUNPATH $ORIGIN/../lib:/opt/ssh/lib
RPATH $ORIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/engines-1.1/padlock.so:

RUNPATH $ORIGIN/../lib:/opt/ssh/lib
RPATH $ORIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/engines-1.1/capi.so:

RUNPATH $ORIGIN/../lib:/opt/ssh/lib
RPATH $ORIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libiconv.so.2:

RUNPATH $ORIGIN/../lib:/opt/ssh/lib
RPATH $ORIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libldns.so.3:

RUNPATH $ORIGIN/../lib:/opt/ssh/lib
RPATH $ORIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libtinfo.so.6:

RUNPATH $ORIGIN/../lib:/opt/ssh/lib
RPATH $ORIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libpanel.so.6:

RUNPATH $ORIGIN/../lib:/opt/ssh/lib
RPATH $ORIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libunbound.so.8.1.8:

RUNPATH /opt/ssh/lib:$ORIGIN/../lib
RPATH /opt/ssh/lib:$ORIGIN/../lib
****************************************
/opt/ssh/lib/libform.so:

RUNPATH $ORIGIN/../lib:/opt/ssh/lib
RPATH $ORIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libgettextpo.so.0:

RUNPATH /opt/ssh/lib:$ORIGIN/../lib
RPATH /opt/ssh/lib:$ORIGIN/../lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/CORE/libperl.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/auto/File/DosGlob/DosGlob.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/auto/File/Glob/Glob.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/auto/POSIX/POSIX.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/auto/List/Util/Util.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/auto/Data/Dumper/Dumper.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/auto/Time/Piece/Piece.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/auto/Time/HiRes/HiRes.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/auto/PerlIO/via/via.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/auto/PerlIO/scalar/scalar.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/auto/PerlIO/encoding/encoding.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/auto/PerlIO/mmap/mmap.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/auto/Encode/Symbol/Symbol.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/auto/Encode/Unicode/Unicode.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/auto/Encode/EBCDIC/EBCDIC.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/auto/Encode/CN/CN.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/auto/Encode/TW/TW.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/auto/Encode/Encode.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/auto/Encode/JP/JP.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/auto/Encode/Byte/Byte.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/auto/Encode/KR/KR.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/auto/Compress/Raw/Bzip2/Bzip2.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/auto/Compress/Raw/Zlib/Zlib.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/auto/Cwd/Cwd.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/auto/IPC/SysV/SysV.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/auto/threads/threads.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/auto/threads/shared/shared.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/auto/DB_File/DB_File.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/auto/B/B.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/auto/attributes/attributes.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/auto/Opcode/Opcode.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/auto/re/re.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/auto/Devel/Peek/Peek.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/auto/mro/mro.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/auto/Socket/Socket.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/auto/MIME/Base64/Base64.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/auto/Sys/Syslog/Syslog.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/auto/Sys/Hostname/Hostname.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/auto/Storable/Storable.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/auto/Math/BigInt/FastCalc/FastCalc.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/auto/IO/IO.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/auto/NDBM_File/NDBM_File.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/auto/Fcntl/Fcntl.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/auto/Tie/Hash/NamedCapture/NamedCapture.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/auto/Filter/Util/Call/Call.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/auto/SDBM_File/SDBM_File.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/auto/GDBM_File/GDBM_File.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/auto/I18N/Langinfo/Langinfo.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/auto/ODBM_File/ODBM_File.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/auto/Unicode/Normalize/Normalize.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/auto/Unicode/Collate/Collate.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/auto/Digest/SHA/SHA.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/auto/Digest/MD5/MD5.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/auto/Hash/Util/FieldHash/FieldHash.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/perl5/5.30.1/i86pc-solaris-64/auto/Hash/Util/Util.so:

RUNPATH /../lib:/opt/ssh/lib
RPATH /../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libgmp.so.10.4.0:

RUNPATH $ORIGIN/../lib:/opt/ssh/lib
RPATH $ORIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libdb.so:

RUNPATH $ORIGIN/../lib:/opt/ssh/lib
RPATH $ORIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libncurses.so:

RUNPATH $ORIGIN/../lib:/opt/ssh/lib
RPATH $ORIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libunistring.so:

RUNPATH /opt/ssh/lib:$ORIGIN/../lib
RPATH /opt/ssh/lib:$ORIGIN/../lib
****************************************
/opt/ssh/lib/libunistring.so.2.1.0:

RUNPATH /opt/ssh/lib:$ORIGIN/../lib
RPATH /opt/ssh/lib:$ORIGIN/../lib
****************************************
/opt/ssh/lib/libtextstyle.so.0.0.1:

RUNPATH /opt/ssh/lib:$ORIGIN/../lib
RPATH /opt/ssh/lib:$ORIGIN/../lib
****************************************
/opt/ssh/lib/libz.so.1:

RUNPATH $ORIGIN/../lib:/opt/ssh/lib
RPATH $ORIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libssl.so.1.1:

RUNPATH $ORIGIN/../lib:/opt/ssh/lib
RPATH $ORIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libasprintf.so.0:

RUNPATH $ORIGIN/../lib:/opt/ssh/lib
RPATH $ORIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libcrypto.so.1.1:

RUNPATH $ORIGIN/../lib:/opt/ssh/lib
RPATH $ORIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libhiredis.so:

RUNPATH $ORIGIN/../lib:/opt/ssh/lib
RPATH $ORIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libform.so.6:

RUNPATH $ORIGIN/../lib:/opt/ssh/lib
RPATH $ORIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libhiredis.so.0.14:

RUNPATH $ORIGIN/../lib:/opt/ssh/lib
RPATH $ORIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libnettle.so.8.0:

RUNPATH RIGIN/../lib:/opt/ssh/lib
RPATH RIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libdb_cxx-6.2.so:

RUNPATH $ORIGIN/../lib:/opt/ssh/lib
RPATH $ORIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libunbound.so:

RUNPATH /opt/ssh/lib:$ORIGIN/../lib
RPATH /opt/ssh/lib:$ORIGIN/../lib
****************************************
/opt/ssh/lib/libintl.so:

RUNPATH /opt/ssh/lib:$ORIGIN/../lib
RPATH /opt/ssh/lib:$ORIGIN/../lib
****************************************
/opt/ssh/lib/libmenu.so:

RUNPATH $ORIGIN/../lib:/opt/ssh/lib
RPATH $ORIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libtextstyle.so.0:

RUNPATH /opt/ssh/lib:$ORIGIN/../lib
RPATH /opt/ssh/lib:$ORIGIN/../lib
****************************************
/opt/ssh/lib/libhogweed.so:

RUNPATH RIGIN/../lib:/opt/ssh/lib
RPATH RIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libgettextpo.so.0.5.6:

RUNPATH /opt/ssh/lib:$ORIGIN/../lib
RPATH /opt/ssh/lib:$ORIGIN/../lib
****************************************
/opt/ssh/lib/libmenu.so.6:

RUNPATH $ORIGIN/../lib:/opt/ssh/lib
RPATH $ORIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libldns.so:

RUNPATH $ORIGIN/../lib:/opt/ssh/lib
RPATH $ORIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libcharset.so.1.0.0:

RUNPATH $ORIGIN/../lib:/opt/ssh/lib
RPATH $ORIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libtinfo.so.6.1:

RUNPATH $ORIGIN/../lib:/opt/ssh/lib
RPATH $ORIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libgettextsrc-0.20.2.so:

RUNPATH /opt/ssh/lib:$ORIGIN/../lib
RPATH /opt/ssh/lib:$ORIGIN/../lib
****************************************
/opt/ssh/lib/libdb-6.so:

RUNPATH $ORIGIN/../lib:/opt/ssh/lib
RPATH $ORIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libasprintf.so.0.0.0:

RUNPATH $ORIGIN/../lib:/opt/ssh/lib
RPATH $ORIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libnettle.so.8:

RUNPATH RIGIN/../lib:/opt/ssh/lib
RPATH RIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libcrypto.so:

RUNPATH $ORIGIN/../lib:/opt/ssh/lib
RPATH $ORIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libgettextlib-0.20.2.so:

RUNPATH /opt/ssh/lib:$ORIGIN/../lib
RPATH /opt/ssh/lib:$ORIGIN/../lib
****************************************
/opt/ssh/lib/libncurses++.so:

RUNPATH $ORIGIN/../lib:/opt/ssh/lib
RPATH $ORIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libcharset.so.1:

RUNPATH $ORIGIN/../lib:/opt/ssh/lib
RPATH $ORIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libiconv.so.2.6.1:

RUNPATH $ORIGIN/../lib:/opt/ssh/lib
RPATH $ORIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libunbound.so.8:

RUNPATH /opt/ssh/lib:$ORIGIN/../lib
RPATH /opt/ssh/lib:$ORIGIN/../lib
****************************************
/opt/ssh/lib/libintl.so.8.1.7:

RUNPATH /opt/ssh/lib:$ORIGIN/../lib
RPATH /opt/ssh/lib:$ORIGIN/../lib
****************************************
/opt/ssh/lib/libgmp.so:

RUNPATH $ORIGIN/../lib:/opt/ssh/lib
RPATH $ORIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libasprintf.so:

RUNPATH $ORIGIN/../lib:/opt/ssh/lib
RPATH $ORIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libgettextlib.so:

RUNPATH /opt/ssh/lib:$ORIGIN/../lib
RPATH /opt/ssh/lib:$ORIGIN/../lib
****************************************
/opt/ssh/lib/libunistring.so.2:

RUNPATH /opt/ssh/lib:$ORIGIN/../lib
RPATH /opt/ssh/lib:$ORIGIN/../lib
****************************************
/opt/ssh/lib/libz.so.1.2.11:

RUNPATH $ORIGIN/../lib:/opt/ssh/lib
RPATH $ORIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libintl.so.8:

RUNPATH /opt/ssh/lib:$ORIGIN/../lib
RPATH /opt/ssh/lib:$ORIGIN/../lib
****************************************
/opt/ssh/lib/libnettle.so:

RUNPATH RIGIN/../lib:/opt/ssh/lib
RPATH RIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libncurses.so.6.1:

RUNPATH $ORIGIN/../lib:/opt/ssh/lib
RPATH $ORIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libexpat.so:

RUNPATH $ORIGIN/../lib:/opt/ssh/lib
RPATH $ORIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libncurses++.so.6:

RUNPATH $ORIGIN/../lib:/opt/ssh/lib
RPATH $ORIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libncurses++.so.6.1:

RUNPATH $ORIGIN/../lib:/opt/ssh/lib
RPATH $ORIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libldns.so.3.0.0:

RUNPATH $ORIGIN/../lib:/opt/ssh/lib
RPATH $ORIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libmenu.so.6.1:

RUNPATH $ORIGIN/../lib:/opt/ssh/lib
RPATH $ORIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libiconv.so:

RUNPATH $ORIGIN/../lib:/opt/ssh/lib
RPATH $ORIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libssl.so:

RUNPATH $ORIGIN/../lib:/opt/ssh/lib
RPATH $ORIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libcharset.so:

RUNPATH $ORIGIN/../lib:/opt/ssh/lib
RPATH $ORIGIN/../lib:/opt/ssh/lib
****************************************
/opt/ssh/lib/libtextstyle.so:

RUNPATH /opt/ssh/lib:$ORIGIN/../lib
RPATH /opt/ssh/lib:$ORIGIN/../lib
****************************************
jwalton@Solaris:~/Build-Scripts$

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-17 15:47 [musl] Musl loader and malformed ORIGIN-based runpath's Jeffrey Walton

mailing list of musl libc

Archives are clonable: git clone --mirror http://inbox.vuxu.org/musl

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.musl


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git