今天,我尝试使用"pecl /tmp/oci8-2.2.0.tgz“安装oci8,它引发错误,比如oracle即时客户端sdk头文件找不到linux。
我设置了ORACLE_HOME路径,但是仍然会收到这个错误。请帮帮忙
checking if we're on a 64-bit platform... yes
checking Oracle Instant Client directory... /usr/lib/oracle/19.11/client64/lib
checking Oracle Instant Client SDK header directory... configure: error: Oracle Instant
Client SDK header files not found
ERROR: `/var/tmp/oci8/configure --with-php-config=/usr/bin/php-config --with-
oci8='instantclient,/usr/lib/oracle/19.11/client64/lib'' failed
在这里做什么?
发布于 2022-02-22 02:09:42
安装与您安装的“基本”包相匹配的即时客户端'devel‘包。如果PHP是64位,那么包就是这里。使用这两个版本的最新“发布更新”。即使用19.14。
https://stackoverflow.com/questions/71210917
复制相似问题