Bug #66130 [NEW]: configure script searches for lib<mysqlibname>.*
From: mail at markus-ullmann dot de
Operating system: Linux
PHP version: 5.4.22
Package: Compile Failure
Bug Type: Bug
Bug description:configure script searches for lib<mysqlibname>.*
Description:
------------
In configure script for 5.4.22 starting on line 61786, the script
searches for a libmysqlclient. It searches for libmysqlclient.* in
common library folders such as /usr, /usr/lib64 and so on.
For an application I need, I have a libmysqlclient.so.15 in that
directory as the application is linked against this version. There is NO
libmysqlclient.so though, so linking against it with "-lmysqlclient"
does not work.
My MySQL installation lives in /usr/lib64/mysql though which
mysql_config reports just fine and even the configure script finds
correctly when I move the library out of the way.
Actual result:
--------------
It should only search for either a libmysqlclient.so (or a
libmysqlclient.dylib depending on your environment) as only those
fulfill the linker requirement when -lmysqlclient is specified.
--
Edit bug report at https://bugs.php.net/bug.php?id=66130&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=66130&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=66130&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=66130&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=66130&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=66130&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=66130&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=66130&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=66130&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=66130&r=support
Expected behavior: https://bugs.php.net/fix.php?id=66130&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=66130&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=66130&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=66130&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=66130&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=66130&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=66130&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=66130&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=66130&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=66130&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=66130&r=mysqlcfg
Thread (2 messages)
- mail at markus-ullmann dot de