In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 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 ldconfig command dynamic link library management command, the text is very detailed, has a certain reference value, interested friends must read!
The ldconfig command searches for shareable dynamic link libraries in the default search directories/lib and/usr/lib, as well as in the dynamic library configuration file/etc/ld.so.conf, to create the connections and cache files required by the dynamic loader (ld.so).
The cache file defaults to/etc/ld.so.cache, which stores a list of sorted DLL names. In order to make the DLL shared by the system, you need to run the DLL management command ldconfig, which is stored in the/sbin directory.
ldconfig is usually run at system startup, but manually when a user installs a new dynamic link library.
Syntax format: ldconfig [parameters]
Common parameters:
Reference Example
Execute dynamic link library management commands:
[root@linuxcool ~]# sudo ldconfig
Append the library file/usr/local/mysql/lib to the/etc/ld.so.conf file:
[root@linuxcool ~]# echo "/usr/local/mysql/lib" >>/etc/ld.so.conf[root@linuxcool ~]# ldconfig -v | grep mysql
Scan the directories specified on the command line:
[root@linuxcool ~]# ldconfig -n /linuxcool
Do not update links to files:
[root@linuxcool ~]# ldconfig -X The above is all the contents of using linux ldconfig command dynamic link library management command, thank you for reading! Hope to share the content to help everyone, more relevant knowledge, welcome to pay attention to 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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.