Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 3 Apr 2015 16:55:42 +0200
From: Szabolcs Nagy <nsz@...t70.net>
To: musl@...ts.openwall.com
Subject: Re: musl ldd?

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

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.