欢迎访问 生活随笔!

生活随笔

当前位置: 首页 > 编程资源 > 编程问答 >内容正文

编程问答

It's highly recommended that you fix the library with 'execstack -c libfile', or link it with '-z

发布时间:2023/12/31 编程问答 44 豆豆
生活随笔 收集整理的这篇文章主要介绍了 It's highly recommended that you fix the library with 'execstack -c libfile', or link it with '-z 小编觉得挺不错的,现在分享给大家,帮大家做个参考.

The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z

解决方案是:

apt install execstack
execstack -c /home/hadoop20170426/app/hadoop/lib/native/libhadoop.so

 

可能会有下面的这个问题:

libhadoop.so is not an ELF file

我说下我是怎么搞的,

我好像是把linux上的整个文件夹拷贝到了u盘,然后再拷贝到另外一台电脑就有这个报错了.

所以还是尽量scp命令或者tar.gz个格式拷贝到u盘里面吧

 

参考:

https://blog.csdn.net/moon_love_banana/article/details/72943718

总结

以上是生活随笔为你收集整理的It's highly recommended that you fix the library with 'execstack -c libfile', or link it with '-z的全部内容,希望文章能够帮你解决所遇到的问题。

如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。