php5-dev missing mysqlnd header files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php5 (Debian) |
Fix Released
|
Unknown
|
|||
php5 (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
The php5-dev package does not include the mysqlnd header files, and therefore pecl installation of mysqlnd plugins fails.
The php5-mysqlnd package does not include the header files.
Reproduction:
$ sudo apt-get install php5-mysqlnd php5-dev
(installing dependencies, assuming that worked)
$ sudo pecl install mysqlnd_qc
(answer "no" to storage engine questions)
Shortly the compile fails, file "php5/ext/
This can be manually fixed by using apt-get source and dpkg-buildpackage to build the php5 packages locally, and then copying the include folder from the build outputs.
$ lsb_release -rd
Description: Ubuntu 12.04.1 LTS
Release: 12.04
$ apt-cache policy php5-dev
php5-dev:
Installed: 5.3.10-1ubuntu3.4
Candidate: 5.3.10-1ubuntu3.4
Version table:
*** 5.3.10-1ubuntu3.4 0
500 http://
500 http://
100 /var/lib/
5.
500 http://
$ apt-cache policy php5-mysqlnd
php5-mysqlnd:
Installed: 5.3.10-1ubuntu3.4
Candidate: 5.3.10-1ubuntu3.4
Version table:
*** 5.3.10-1ubuntu3.4 0
500 http://
500 http://
100 /var/lib/
5.
500 http://
tags: | added: precise |
Changed in php5 (Debian): | |
status: | Unknown → New |
Changed in php5 (Debian): | |
status: | New → Fix Released |
This seems like a legitimate problem. I spent a little while trying to see an easy solution but the build process for this package is *really* complex, so hopefully the Debian maintainers can help sort it out. Seems to be as far as I can take it, so marking Triaged and Medium, as this only affects users who want to compile things dependent on these particular headers.