What are ld-linux.so.2 and linux-gate.so.1?

I hope that you’re not asking about the main entries, which are stating that for the requested library libm.so.6 it was found in the file /lib/libm.so.6, for example, but are asking about the two outliers. Why are they displayed differently? for linux-gate.so.1 it’s because it’s not actually a file on-disk – it’s exposed by the … Read more

cross compiler ldd

This is a bit of a kluge, but it’s the best solution I could find, and it really works quite well for basic use – just save this script as “arm-none-linux-gnueabi-ldd” with your other cross tools. #!/bin/sh arm-none-linux-gnueabi-readelf -a $1 | grep “Shared library:”

Hierarchical ldd(1)

I see many interesting details but no direct answer to the question asked. The ‘hierarchical’ version of ldd is lddtree (from app-misc/pax-utils): $ lddtree /usr/bin/xmllint xmllint => /usr/bin/xmllint (interpreter => /lib64/ld-linux-x86-64.so.2) libreadline.so.6 => /lib64/libreadline.so.6 libncurses.so.5 => /lib64/libncurses.so.5 libdl.so.2 => /lib64/libdl.so.2 libxml2.so.2 => /usr/lib64/libxml2.so.2 libicui18n.so.49 => /usr/lib64/libicui18n.so.49 libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.1/32/libstdc++.so.6 ld-linux.so.2 => /lib64/ld-linux.so.2 libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.1/32/libgcc_s.so.1 … Read more