View the dependent libraries of so or executable programs under linux

View the dependent libraries of so or executable programs under linux

View the dependent libraries of so or executable programs under Linux

Executable programs under Linux include executable programs exe and so, both files start with ELF.

objdump -x libxxxxx.so | grep NEEDED

objdump -x executable program name | grep NEEDED

or

arm-hisiv300-linux-objdump -x executable program | grep NEEDED

arm-hisiv300-linux-readelf -a executable program | grep NEEDED

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

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

Solution

lsof **.so 

Obviously, several processes of our apache httpd are using this socket.

Summarize

The above is the full content of this article. I hope that the content of this article will have certain reference learning value for your study or work. Thank you for your support of 123WORDPRESS.COM. If you want to learn more about this, please check out the following links

You may also be interested in:
  • Play with the connect function with timeout in Linux
  • Detailed explanation of the solution to npm ls errors caused by fsevents module under Linux
  • Explanation of installation and configuration of building go environment under linux
  • Summary of Linux cut command usage
  • Detailed explanation of Linux system input and output management and common functions of vim
  • Linux shell - Example of how to test file system attributes by identification
  • Various judgments of if in linux shell
  • Linux shell pushd, popd and dirs usage explanation
  • How to print various color fonts and backgrounds in the Linux shell console
  • Example explanation of alarm function in Linux

<<:  Detailed tutorial on installing MySQL 5.7.20 on RedHat 6.5/CentOS 6.5

>>:  Summary of event handling in Vue.js front-end framework

Recommend

What does this.parentNode.parentNode (parent node of parent node) mean?

The parent node of the parent node, for example, t...

Several methods of implementing carousel images in JS

Carousel The main idea is: In the large container...

How to build YUM in Centos7 environment

1. Enter the configuration file of the yum source...

Detailed explanation of the reasons why MySQL connections are hung

Table of contents 1. Background Architecture Prob...

When MySQL is upgraded to 5.7, WordPress reports error 1067 when importing data

I recently upgraded MySQL to 5.7, and WordPress r...

Is it necessary to give alt attribute to img image tag?

Do you add an alt attribute to the img image tag? ...

The leftmost matching principle of MySQL database index

Table of contents 1. Joint index description 2. C...

How to use Spark and Scala to analyze Apache access logs

Install First you need to install Java and Scala,...

Spring Boot layered packaging Docker image practice and analysis (recommended)

Table of contents 1. Prepare the springboot proje...

MySQL learning database operation DML detailed explanation for beginners

Table of contents 1. Insert statement 1.1 Insert ...