Composerinstall reports libmysqlclient_18 error

Source: Internet
Author: User
System environment: ubuntu14.0464-bit php version: 7.0.0mysql version: 5.7.10composer version: 1.2.1php is installed in the source code package. mysql is installed in the require file after the binary package is decompressed as follows {code ...} the following error is reported after execution... 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 in the source code package. mysql is installed after the binary package is decompressed.

The content of the require file is as follows:

{        "require" : {                "swiftmailer/swiftmailer": "5.3.*@dev",                "phpoffice/phpexcel": "dev-master"        }}

The following error is reported after execution.

$ composer installLoading composer repositories with package informationphp: relocation error: php: symbol inflateInit2_, version libmysqlclient_18 not defined in file libmysqlclient.so.18 with link time reference

There is a libmysqlclient. so.18 under/usr/lib /.
You have also attempted to install

$ sudo apt-get install libmysqlclient-dev

What is php with no compilation options?

Reply content:

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 in the source code package. mysql is installed after the binary package is decompressed.

The content of the require file is as follows:

{        "require" : {                "swiftmailer/swiftmailer": "5.3.*@dev",                "phpoffice/phpexcel": "dev-master"        }}

The following error is reported after execution.

$ composer installLoading composer repositories with package informationphp: relocation error: php: symbol inflateInit2_, version libmysqlclient_18 not defined in file libmysqlclient.so.18 with link time reference

There is a libmysqlclient. so.18 under/usr/lib /.
You have also attempted to install

$ sudo apt-get install libmysqlclient-dev

What is php with no compilation options?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.