System environment: ubuntu 14.04 64-bit
php version: 7.0.0
mysql version: 5.7.10
composer version: 1.2.1
php is installed from the source package, and mysql is installed after decompressing the binary package
The content of the require file is as follows
<code>{ "require" : { "swiftmailer/swiftmailer": "5.3.*@dev", "phpoffice/phpexcel": "dev-master" } }</code>
The following error will be reported after execution, no matter what the above require is written
<code class="shell">$ 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</code>
There is a libmysqlclient.so.18 under /usr/lib/
I also tried to install it and did the following operations
<code class="shell">$ sudo apt-get install libmysqlclient-dev</code>
Please tell me, is it because I didn’t add compilation options to my php or something... I really don’t understand it
System environment: ubuntu 14.04 64-bit
php version: 7.0.0
mysql version: 5.7.10
composer version: 1.2.1
php is installed from the source package, and mysql is installed after decompressing the binary package
The content of the require file is as follows
<code>{ "require" : { "swiftmailer/swiftmailer": "5.3.*@dev", "phpoffice/phpexcel": "dev-master" } }</code>
The following error will be reported after execution, no matter what the above require is written
<code class="shell">$ 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</code>
There is a libmysqlclient.so.18 under /usr/lib/
I also tried to install it and did the following operations
<code class="shell">$ sudo apt-get install libmysqlclient-dev</code>
Please tell me, is it because I didn’t add compilation options to my php or something... I really don’t understand it