Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to view dependent libraries of so or executable programs in linux

Shulou Source: shulou.com Published: 2022-06-01 18:12:22 11月14日 Update

This article is about how to view dependent libraries of so or executable programs in linux. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

View the dependent libraries of so or executable programs under linux

Executable programs under Linux include executable programs exe and so, both of which are headed by ELF.

Objdump-x libxxxxx.so | grep NEEDEDobjdump-x executable program name | grep NEEDED

Or

Arm-hisiv300-linux-objdump-x executable program | grep NEEDEDarm-hisiv300-linux-readelf-an executable program | grep NEEDED

How to see which processes are using a certain so in linux

On our server side, how do we see which processes are using a certain so

Solution.

Lsof * * .so

Obviously, several processes of our apache's httpd are using this so

Thank you for reading! This is the end of this article on "how to view the dependent library of so or executable programs in linux". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it out for more people to see!

Tags: Programs processes content more articles good practical obvious methods documents articles look knowledge program names references help related services Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology MariaDB OPPO Reno macOS Huawei