From: Wermut <wermut@gmail.com>
To: musl@lists.openwall.com
Subject: Re: musl ldd?
Date: Fri, 03 Apr 2015 19:41:08 +0000 [thread overview]
Message-ID: <CALONj1cMKuhJbUwKFSaEwjgkY853TT0_Mz8APxAAB3C8WhLcBg@mail.gmail.com> (raw)
In-Reply-To: <20150403145542.GE27899@port70.net>
[-- Attachment #1: Type: text/plain, Size: 974 bytes --]
If there are other ldd providing C libraries installed, you can also make a
link with its name ending in *ldd for the musl libc/loader.
e.g. # ln -s /usr/local/bin/musl-ldd /lib/ld-musl-x86_64.so.1
On Fri, Apr 3, 2015 at 4:55 PM Szabolcs Nagy <nsz@port70.net> wrote:
> * 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)
>
[-- Attachment #2: Type: text/html, Size: 1374 bytes --]
next prev parent reply other threads:[~2015-04-03 19:41 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
2015-04-03 19:41 ` Wermut [this message]
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=CALONj1cMKuhJbUwKFSaEwjgkY853TT0_Mz8APxAAB3C8WhLcBg@mail.gmail.com \
--to=wermut@gmail.com \
--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).