centos編譯安裝oci8報錯cannot find -lclntsh

centos編譯安裝oci8報錯centos

cannot find -lclntsh

改用rpm包安裝oracle

oracle-instantclient12.1-basic-12.1.0.2.0-1.x86_64.rpm
oracle-instantclient12.1-tools-12.1.0.2.0-1.x86_64.rpm

安裝code

rpm -Uvh oracle-instantclient12.1-basic-12.1.0.2.0-1.x86_64.rpm
rpm -Uvh oracle-instantclient12.1-tools-12.1.0.2.0-1.x86_64.rpm

pecl安裝oci8ci

pecl install oci8

成功編譯

相關文章
相關標籤/搜索