Checking Library Dependencies in Linux for cross-compiled Applications

ldd not working for you? Frustrated that you don’t know the dependencies for your cross-compiled application? Trying to find out what libraries your GUI needs without installing everything? Compiled your ARM application on an X86 machine?

For all of the above annoyances, try readelf. It works across platforms. It will list every single dependency your application needs. It will not however deploy them for you, you’d have to figure that out yourself.

readelf -d [ApplicationName] | grep NEEDED

You’re welcome.

Advertisements

About krithik

An Electrical Engineer by training, who occasionally dabbles in programming and design.
This entry was posted in theblog and tagged , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s