我需要安装ibm_db2扩展以便与db2进行php连接。所以我使用了pecl。但它会产生错误。pecl安装ibm_db2失败
$ 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
请帮忙。
你知道如何通过避免提示的路径? – corretge