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)