时间:2021-07-01 10:21:17 帮助过:6人阅读
php是源码包安装的,mysql是二进制包解压后安装的
require文件内容如下
{
"require" : {
"swiftmailer/swiftmailer": "5.3.*@dev",
"phpoffice/phpexcel": "dev-master"
}
}
执行后报如下错误,无论上述require写的是啥
$ composer install
Loading composer repositories with package information
php: relocation error: php: symbol inflateInit2_, version libmysqlclient_18 not defined in file libmysqlclient.so.18 with link time reference
在/usr/lib/下有一个libmysqlclient.so.18
也尝试安装做了如下操作
$ sudo apt-get install libmysqlclient-dev
求教大神,是我php啥东西没加上编译选项吗还是咋滴...实在搞不懂啊
系统环境: ubuntu 14.04 64位
php版本: 7.0.0
mysql版本:5.7.10
composer版本: 1.2.1
php是源码包安装的,mysql是二进制包解压后安装的
require文件内容如下
{
"require" : {
"swiftmailer/swiftmailer": "5.3.*@dev",
"phpoffice/phpexcel": "dev-master"
}
}
执行后报如下错误,无论上述require写的是啥
$ composer install
Loading composer repositories with package information
php: relocation error: php: symbol inflateInit2_, version libmysqlclient_18 not defined in file libmysqlclient.so.18 with link time reference
在/usr/lib/下有一个libmysqlclient.so.18
也尝试安装做了如下操作
$ sudo apt-get install libmysqlclient-dev
求教大神,是我php啥东西没加上编译选项吗还是咋滴...实在搞不懂啊