centos编译安装oci8报错cannot find -lclntsh

前端之家收集整理的这篇文章主要介绍了centos编译安装oci8报错cannot find -lclntsh前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

centos编译安装oci8报错

cannot find -lclntsh

改用rpm包安装

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

安装

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安装oci8

pecl install oci8

成功

猜你在找的CentOS相关文章