当执行
[root@localhost CZ4VEML]# ./mqlicense.sh -accept
语句时(这句的意思是接受许可协议),
报如下错误
Licensed Materials - Property of IBM
5724-H72
(C) Copyright IBM Corporation 1994, 2009 All rights reserved.
US Government Users Restricted Rights - Use, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corp.
./mqlicense.sh: ./lap/jre/jre/bin/java: /lib/ld-linux.so.2: bad ELF interpreter: 没有那个文件或目录
ERROR: Installation will not succeed unless the license
agreement can be accepted.
If the error was caused by a display problem,
read the license agreement file (LA_xx, where
xx represents your language ) in the 'licenses'
directory, and then run the following command:
mqlicense.sh -accept
Only use this command if you accept the license
agreement.
For other errors, contact your IBM support centre.
证明Linux系统为64位,而安装的软件为32位系统。执行下面语句解决该问题。
[root@localhost CZ4VEML]# yum install glibc.i686
继续执行[root@localhost CZ4VEML]# ./mqlicense.sh -accept语句
如果报如下错误
Licensed Materials - Property of IBM
5724-H72
(C) Copyright IBM Corporation 1994, 2009 All rights reserved.
US Government Users Restricted Rights - Use, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corp.
libgcc_s.so.1 must be installed for pthread_cancel to work
./mqlicense.sh: line 172: 2730 已放弃 (core dumped) ${JRE?} -cp ${LAPCLASSPATH?} com.ibm.lex.lapapp.LAP -l ${PROGPATH?}/lap/licenses -s /tmp/mq_license ${STATUSARG} ${DISPLAYARG}
ERROR: Installation will not succeed unless the license
agreement can be accepted.
If the error was caused by a display problem,
read the license agreement file (LA_xx, where
xx represents your language ) in the 'licenses'
directory, and then run the following command:
mqlicense.sh -accept
Only use this command if you accept the license
agreement.
For other errors, contact your IBM support centre.
需要继续安装程序包
yum install libstdc++.so.6
然后继续执行语句[root@localhost CZ4VEML]# ./mqlicense.sh -accept
执行结果如下
[root@localhost CZ4VEML]# ./mqlicense.sh -accept
Licensed Materials - Property of IBM
5724-H72
(C) Copyright IBM Corporation 1994, 2009 All rights reserved.
US Government Users Restricted Rights - Use, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corp.
License has already been accepted: Proceed with install.
表示许可证已被接受,可以继续安装。(如之后仍然有错误,再进行补充)