Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 03 Apr 2015 19:41:08 +0000
From: Wermut <wermut@...il.com>
To: musl@...ts.openwall.com
Subject: Re: musl ldd?

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@...t70.net> wrote:

> * John Mudd <johnbmudd@...il.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)
>

Content of type "text/html" skipped

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.