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

Let's talk about the two functions of try catch in Javascript

The program is executed sequentially from top to ...

Independent implementation of nginx container configuration file

Create a container [root@server1 ~]# docker run -...

CSS box hide/show and then the top layer implementation code

.imgbox{ width: 1200px; height: 612px; margin-rig...

Code analysis of user variables in mysql query statements

In the previous article, we introduced the MySQL ...

Specific use of CSS front-end page rendering optimization attribute will-change

Preface When scroll events such as scroll and res...

Linux nohup command principle and example analysis

nohup Command When using Unix/Linux, we usually w...

How to allow remote access to open ports in Linux

1. Modify the firewall configuration file # vi /e...

Detailed explanation of the use of Element el-button button component

1. Background Buttons are very commonly used, and...

Overview of the definition of HTC components after IE5.0

Before the release of Microsoft IE 5.0, the bigges...

mysql uses stored procedures to implement tree node acquisition method

As shown in the figure: Table Data For such a tre...

Summarize the common properties of BigIn functions in JavaScript

Table of contents 1. Overview 2. Attributes 1. Ma...

Example of implementing todo application with Vue

background First of all, I would like to state th...

Detailed explanation of building MySQL master-slave environment with Docker

Preface This article records how I use docker-com...

Detailed explanation of several ways to create a top-left triangle in CSS

Today we will introduce several ways to use CSS t...