我需要安装 ibm_db2 扩展来与 db2 建立 php 连接。所以我用过pecl。但它会产生错误。
$ pecl install ibm_db2
当我运行它时,会发生以下错误。
.....
checking in /home/db2inst1/sqllib/lib64...
checking in /home/db2inst1/sqllib/lib32... found
checking for DB2 CLI include files in default path... checking in /home/db2inst1/sqllib... not found
configure: error: Please reinstall the DB2 CLI distribution
ERROR: `/tmp/pear/temp/ibm_db2/configure --with-IBM_DB2=/home/db2inst1/sqllib' failed
请帮忙。