Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FAQ: update ldd information #61

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@ support for the next release of musl. The official explanation:

# Q: Where is `ldd`?

musl's dynamic linker comes with ldd functionality built in. Just create a symlink
from ld-musl-$ARCH.so to /bin/ldd. If the dynamic linker was started as "ldd", it
will detect that and print the appropriate DSO information.
musl's dynamic linker comes with ldd functionality built in. It can be as easy as
creating a symlink from ld-musl-$ARCH.so to /bin/ldd. However the recommended way
is to create a shell script or program that extracts the interpreter from the binary
(e.g. using `readelf -l`) and invoking it with the `--list` option e.g.:
`/lib/ld-musl-x86_64.so.1 --list /bin/yasm`.

# Q: Where is `ldconfig`?

Expand Down