Composer Install report libmysqlclient_18 error

Source: Internet
Author: User
System Environment: Ubuntu 14.04 64-bit
PHP Version: 7.0.0
MySQL version: 5.7.10
Composer Version: 1.2.1

PHP is the source package installed, MySQL is the binary package after decompression installed

Require file contents are as follows

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

The following error is reported after execution, no matter what the above require write

$ 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's a libmysqlclient.so.18 under the/usr/lib/.
Also try the installation to do the following:

$ sudo apt-get install libmysqlclient-dev

Ask the great God, is I php what things do not add the compile option or how to drop ... I really don't understand.

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 the source package installed, MySQL is the binary package after decompression installed

Require file contents are as follows

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

The following error is reported after execution, no matter what the above require write

$ 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's a libmysqlclient.so.18 under the/usr/lib/.
Also try the installation to do the following:

$ sudo apt-get install libmysqlclient-dev

Ask the great God, is I php what things do not add the compile option or how to drop ... I really don't understand.

  • 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.