Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 478332

Summary: dev-lang/php-5.4.17 with dev-db/mysql-5.5.32 - configure: ld: cannot find -lmysqlclient
Product: Gentoo Linux Reporter: Markus Ullmann <mail>
Component: [OLD] DevelopmentAssignee: PHP Bugs <php-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: fling, grknight
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
config.log
emerge --info php

Description Markus Ullmann 2013-07-27 09:04:25 UTC
Build fails when checking for mysqlclient library, see attached logs for details.

Libraries reside in /usr/lib64/mysql but search path does not include it.
Comment 1 Markus Ullmann 2013-07-27 09:04:54 UTC
Created attachment 354288 [details]
emerge --info
Comment 2 Markus Ullmann 2013-07-27 09:07:04 UTC
Created attachment 354290 [details]
config.log
Comment 3 Ole Markus With (RETIRED) gentoo-dev 2013-07-29 10:42:29 UTC
I need emerge --info php too, or at least the list of USE flags you tried to use.
Comment 4 Markus Ullmann 2013-08-24 20:06:53 UTC
Created attachment 356892 [details]
emerge --info php
Comment 5 Brian Evans (RETIRED) gentoo-dev 2014-04-26 20:08:06 UTC
Please retry with mysql-5.5.37-r1 which is a stable candidate.

I know that both PHP and mysql have made changes since this bug was filed
Comment 6 Brian Evans (RETIRED) gentoo-dev 2014-10-07 19:45:10 UTC
No feedback provided.  Marking as TEST-REQUEST
Comment 7 Markus Ullmann 2014-10-07 21:00:39 UTC
Issue was tracked down to be using mysqli flag with latest mysql. This is unsupported upstream and I switched to mysqlnd. Works fine now