我需要安裝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