【改bin程序rpath】
apt search chrpath
apt install chrpath
chrpath -r \$ORIGIN/../ ./*.so
修改链接库搜索目录
文章讲述了如何在Linux系统中使用aptsearch找到chrpath工具,然后通过aptinstall安装,接着利用chrpath修改二进制程序的运行时库路径(rpath)。这种方法常用于解决依赖库的路径问题。
文章讲述了如何在Linux系统中使用aptsearch找到chrpath工具,然后通过aptinstall安装,接着利用chrpath修改二进制程序的运行时库路径(rpath)。这种方法常用于解决依赖库的路径问题。
【改bin程序rpath】
apt search chrpath
apt install chrpath
chrpath -r \$ORIGIN/../ ./*.so

被折叠的 条评论
为什么被折叠?