LINUX动态库(.SO)搜索路径(目录)设置方法

LINUX动态库(.SO)搜索路径(目录)设置方法

 

[root@VM_0_11_centos ld.so.conf.d]# cat /etc/ld.so.conf
include ld.so.conf.d/*.conf
[root@VM_0_11_centos ld.so.conf.d]# ll -as /etc/ld.so.conf.d/
total 36
4 drwxr-xr-x. 2 root root 4096 Mar 6 21:39 .
12 drwxr-xr-x. 99 root root 12288 Mar 9 20:50 ..
4 -rw-r--r-- 1 root root 26 Aug 8 2019 bind-export-x86_64.conf
4 -rw-r--r-- 1 root root 19 Aug 9 2019 dyninst-x86_64.conf
4 -r--r--r-- 1 root root 63 Feb 5 07:07 kernel-3.10.0-1062.12.1.el7.x86_64.conf
4 -r--r--r-- 1 root root 63 Dec 6 23:53 kernel-3.10.0-1062.9.1.el7.x86_64.conf
4 -rw-r--r-- 1 root root 17 Aug 8 2019 mariadb-x86_64.conf
[root@VM_0_11_centos ld.so.conf.d]# cat mariadb-x86_64.conf
/usr/lib64/mysql
[root@VM_0_11_centos ld.so.conf.d]# cat dyninst-x86_64.conf
/usr/lib64/dyninst

 

编辑

/etc/ld.so.conf

 

上一篇:1058 A+B in Hogwarts (20分)


下一篇:可以尝试更新升级Anaconda升级与Spyder升级