[david@localhost examples]$ readelf -d a.out
Dynamic section at offset 0x1028 contains 22 entries:
Tag Type Name/Value
0x0000000000000001 (NEEDED) Shared library: [libhiredis.so.0.13]
0x0000000000000001 (NEEDED) Shared library: [libc.so.6]
0x000000000000000f (RPATH) Library rpath: [/home/david/softwares/lib]
0x000000000000000c (INIT) 0x4006a0
我想用chrpath改变到 /home/david/softwares/lib 命令如下
[david@localhost examples]$ chrpath -r "/home/david/softwares/lib/newlib" a.out
a.out: RPATH=/home/david/softwares/lib
new rpath '/home/david/softwares/lib/newlib' too large; maximum length 25
修改失败;这是为啥;求大神解析
2 个解决方案
#1
不是写着最长25字符
#2
25是现有的长度亲
#1
不是写着最长25字符
#2
25是现有的长度亲