patchelf-统计:没有这样的文件或目录
我们正在尝试解决以下问题:
信息| JVM 2 | 2022/04/05 09:06:23.421 |由: java.lang.unsatisfiedlinkerror: /home/usr/examples/tmp/.djl.ai/pytorch/1.9.1.1.1-cpu-linux-x86_64/0.14.0-cpu-libdjl_torch.so: /lib64/libm.so.6:找不到版本`glibc_2.23'(要求 /home/usr/examples/tmp/.djl.ai/pytorch/1.9.1-cpu-linux-x86_64/libtorch_cpu.so)
“ strings'命令显示所有Glibc版本followed this instruction - https://serverfault.com/questions/894625/safely-upgrade- glibc-on-centos-7 这是我们试图在CentOS 7.9上拥有GLIBC 2.23,并且我们能够使用-prefix完成“ MAKE INSTAL”,以使用单独的路径。
运行此“补丁”时,特别是我试图运行的命令:
patchelf -set-interpreter/opt/glibc-2.23/lib/ld-linux-x86-64.so.2 -set-rpath/opt/glibc-2.23/lib:/usr/lib64 pytorch
我在以下错误下,安装了“ pytorch”,即安装了python模块:
Stat:没有此类文件或目录
请告知是否错过了任何内容或
We are trying to solve below issue :
INFO | jvm 2 | 2022/04/05 09:06:23.421 | Caused by:
java.lang.UnsatisfiedLinkError:
/home/usr/examples/tmp/.djl.ai/pytorch/1.9.1-cpu-linux-x86_64/0.14.0-cpu-libdjl_torch.so:
/lib64/libm.so.6: version `GLIBC_2.23' not found (required by
/home/usr/examples/tmp/.djl.ai/pytorch/1.9.1-cpu-linux-x86_64/libtorch_cpu.so)
Ran the "strings" command to show what all GLIBC version and could not find "2.23", followed this instruction - https://serverfault.com/questions/894625/safely-upgrade-glibc-on-centos-7 which is we are trying to have GLIBC 2.23 on Centos 7.9, and we were able to complete "make install" using --prefix to use seperate path.
When running this "patchelf" especially this command i am attempting to run :
patchelf --set-interpreter /opt/glibc-2.23/lib/ld-linux-x86-64.so.2
--set-rpath /opt/glibc-2.23/lib:/usr/lib64 pytorch
I am getting below error where "pytorch" is python module installed :
stat: No such file or directory
Please advise if anything missed or
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论