jdk安装异常link it with ‘-z noexecstack‘与inux 64位系统ZendGuardLoader.so: wrong ELF class: ELFCLASS32报错处理
Posted mask哥
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了jdk安装异常link it with ‘-z noexecstack‘与inux 64位系统ZendGuardLoader.so: wrong ELF class: ELFCLASS32报错处理相关的知识,希望对你有一定的参考价值。
N1.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
意思是推荐使用sunjdk,而不是linux自带openjdk
N2.linux 64位系统ZendGuardLoader.so: wrong ELF class: ELFCLASS32报错
1、下载Zend Guard
32位 http://downloads.zend.com/guard/5.5.0/ZendGuardLoader-php-5.3-linux-glibc23-i386.tar.gz
64位 http://downloads.zend.com/guard/5.5.0/ZendGuardLoader-php-5.3-linux-glibc23-x86_64.tar.gz
mkdir /usr/local/zend
tar -zxvf ZendGuardLoader-php-5.3-linux-glibc23-i386.tar.gz
sudo cp ZendGuardLoader-php-5.3-linux-glibc23-i386/php5.3.x/ZendGuardLoader.so /usr/local/zend/
2、配置
vim /etc/php.ini
最后加上:
zend_extension=/usr/local/zend/ZendGuardLoader.so
以上错误的原因是64位系统用了32位的ZendGuardLoader.so
解决办法就是去下载一个对应PHP版本的64位ZendGuardLoader.so文件
1、下载Zend Guard
32位 http://downloads.zend.com/guard/5.5.0/ZendGuardLoader-php-5.3-linux-glibc23-i386.tar.gz
64位 http://downloads.zend.com/guard/5.5.0/ZendGuardLoader-php-5.3-linux-glibc23-x86_64.tar.gz
mkdir /usr/local/zend
tar -zxvf ZendGuardLoader-php-5.3-linux-glibc23-i386.tar.gz
sudo cp ZendGuardLoader-php-5.3-linux-glibc23-i386/php5.3.x/ZendGuardLoader.so /usr/local/zend/
2、配置
vim /etc/php.ini
最后加上:
zend_extension=/usr/local/zend/ZendGuardLoader.so
以上是关于jdk安装异常link it with ‘-z noexecstack‘与inux 64位系统ZendGuardLoader.so: wrong ELF class: ELFCLASS32报错处理的主要内容,如果未能解决你的问题,请参考以下文章
Kivy Apk build with buildozer error: # Java compiler (javac) not found, please install it
python pcapy 安装错误 link.exe failed with exit status 1120
npm install报gyp info it worked if it ends with ok
How to calculate the z-graph transformation problem with the time complexity of o(n)(Z字形变换问题)
IntelliJ IDEA 与Eclipse Link with Editor等价功能设置
python HiKat1创建的sdm0711-with-graph.py - https://repl.it/J59N/1