![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
库的使用
billbonaparte1
目前从事网络设备软件开发,基于Linux开源系统,定制开发,主要使用语言为C语言,网络协议为IPv6。
展开
-
Linux 下编译安装软件,找不到共享库 xx.so 的解决办法
Linux 下编译安装软件,找不到共享库 xx.so 的解决办法编译memcached时,报错没有libevent,于是下载libevent,configure , make && make install ,然后在重新安装memcache成功之后。memcached默认安装在/usr/local/bin/目录下。执行命令 ./memcache -help 报错:[root转载 2018-02-06 11:26:38 · 966 阅读 · 0 评论 -
ELF文件动态链接过程解析及ELF文件头读取修改
ELF = Executable and Linkable Format,可执行连接格式,是UNIX系统实验室(USL)作为应用程序二进制接口(Application Binary Interface,ABI)而开发和发布的。扩展名为elf。 ELF 文件有三种类型:可重定位文件:也就是通常称的目标文件,后缀为.o。共享文件:也就是通常称的库文件,后缀为.so。可执行文件:本文主要讨论的文...转载 2018-11-08 17:06:25 · 973 阅读 · 0 评论 -
linux 修改 elf 文件的dynamic linker 和 rpath
linux 修改 elf 文件的dynamic linker 和 rpathhttps://nixos.org/patchelf.html下载地址https://nixos.org/releases/patchelf/patchelf-0.9/patchelf-0.9.tar.gzhttps://nixos.org/releases/patchelf/patchelf-0.9/pa...转载 2018-11-08 17:13:16 · 1013 阅读 · 0 评论 -
动态链接中的RPATH用法及详解
In computing, rpath designates the run-time search path hard-coded in an executable file or library. Dynamic linking loaders use the rpath to find required libraries.Specifically it encodes a path t...转载 2018-11-08 17:35:42 · 3458 阅读 · 0 评论