Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Use the ldd command in linux to print the shared library that the program depends on

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces the use of linux ldd command print program depends on the shared library, the article is very detailed, has a certain reference value, interested friends must read it!

The ldd command is used to print a list of shared libraries on which a program or library file depends.

Syntax format: ldd [parameters] [file]

Common parameters:

-v detail mode, print all relevant information-u print unused direct dependencies-d perform relocation and report any missing objects-r perform relocation of data objects and functions, and report any missing objects and functions-help display help information

Reference example

Displays the shared libraries on which the command depends:

[root@linuxcool ~] # ldd / bin/vimlinux-vdso.so.1 = > (0x00007ffe3dbc1000) libm.so.6 = > / lib64/libm.so.6 (0x00007f17a5b55000) libselinux.so.1 = > / lib64/libselinux.so.1 (0x00007f17a592e000) libtinfo.so.5 = > / lib64/libtinfo.so.5 (0x00007f17a5704000) these are all the contents of the shared library that the program depends on using the ldd command in linux. Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report