ld.so library search paths
来源:互联网 发布:戈洛夫金力量数据 编辑:程序博客网 时间:2024/05/23 16:59
The shared libraries needed by the program are searched for in
various places:
o (ELF only) Using the DT_RPATH dynamic section attribute
of the binary if present and DT_RUNPATH attribute does
not exist. Use of DT_RPATH is deprecated. (-Wl, -rpath,$DIR)
o Using the environment variable LD_LIBRARY_PATH. Except
if the executable is a set-user-ID/set-group-ID binary,
in which case it is ignored.
o (ELF only) Using the DT_RUNPATH dynamic section
attribute of the binary if present. (-Wl, -rpath, $DIR, --enable-new-dtags)
o From the cache file /etc/ld.so.cache which contains a
compiled list of candidate libraries previously found in
the augmented library path. If, however, the binary was
linked with -z nodeflib linker option, libraries in the
default library paths are skipped.
Reference http://blog.lxgcc.net/?tag=dt_rpath
- ld.so library search paths
- Shared Library Search Paths
- Library Search Paths
- Library Search Paths
- Shared Library Search Paths
- Search Paths 之 Framework Search Paths、Library Search Paths、Header Search Paths
- Search Paths 之 Framework Search Paths、Library Search Paths、Header Search Paths
- Shared Library Search Paths On Linux
- library search paths 路径带有空格,导致拆分成2个路径查询,出现ld: warning: directory not found for option错误
- iOS之Header Search Paths和User Header Search Paths和library searchpath
- iOS之Header Search Paths和User Header Search Paths和library searchpath
- Search paths
- 文件ld.so.conf
- 更新 ld.so.conf
- ld.so.conf
- etc/ld.so.conf
- etc/ld.so.conf
- /etc/ld.so.conf
- 使用 logrotate 來管理及備份日誌檔
- 嵌入式系统基础
- Java中Ear、Jar、War文件之间有何不同
- adb server is out of date.
- 简述容易混淆的 运算符与函数
- ld.so library search paths
- 大型架构.net平台篇(WEB层均衡负载nginx)
- VS2010 检查内存泄露的方法
- Hibernate自动创建表
- java:path和classpath;jdk与jre;protected与default(又称friendly)
- DirectShow一些流程
- C语言两个以字符串形式出现的超级大数相加
- 排序算法实现及分析
- release版本崩溃,如何定位代码行