From: Szabolcs Nagy <nsz@port70.net>
To: musl@lists.openwall.com
Subject: Re: musl ldd?
Date: Fri, 3 Apr 2015 16:55:42 +0200 [thread overview]
Message-ID: <20150403145542.GE27899@port70.net> (raw)
In-Reply-To: <CAGDMk9HPPcVATqsUzReA3kvAe6q4yoEnX9jcb5Unf0LKQkzSNQ@mail.gmail.com>
* John Mudd <johnbmudd@gmail.com> [2015-04-03 10:16:32 -0400]:
> Is there a substitute for 'ldd' command to list shared library dependencies
> for musl compiled executables?
>
> $ ldd postgresql-*.install/bin/postgres
> postgresql-9.4.1.install/bin/postgres: error while loading shared
> libraries: /usr/lib/i386-linux-gnu/libc.so: invalid ELF header
make it a symlink to the libc/loader
$ readlink /usr/bin/ldd
../../lib/ld-musl-x86_64.so.1
$ ldd /usr/bin/python
/lib/ld-musl-x86_64.so.1 (0x72afa0d19000)
libpython2.7.so.1.0 => /usr/lib/libpython2.7.so.1.0 (0x72afa0786000)
libc.musl-x86_64.so.1 => /lib/ld-musl-x86_64.so.1 (0x72afa0d19000)
next prev parent reply other threads:[~2015-04-03 14:55 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-03 14:16 John Mudd
2015-04-03 14:55 ` Szabolcs Nagy [this message]
2015-04-03 19:41 ` Wermut
2015-04-03 19:58 ` Rich Felker
2015-04-04 23:40 ` Matias A. Fonzo
2015-04-13 8:00 ` musl, netdb.h rcmd inetutils? Jean-Marc Pigeon
2015-04-13 9:52 ` Justin Cormack
2015-04-13 13:28 ` Jean-Marc Pigeon
2015-04-13 13:44 ` Rich Felker
2015-04-13 14:09 ` Jean-Marc Pigeon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150403145542.GE27899@port70.net \
--to=nsz@port70.net \
--cc=musl@lists.openwall.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).