#22102 [Opn->Fbk]: Link fails with modified mysql path
| From: | sniper@php.net | Date: | Sat, 08 Feb 2003 05:29:01 +0000 |
| Subject: | #22102 [Opn->Fbk]: Link fails with modified mysql path | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-32448@lists.php.net to get a copy of this message | ||
ID: 22102
Updated by: sniper@php.net
Reported By: allen012@attbi.com
-Status: Open
+Status: Feedback
-Bug Type: Compile Failure
+Bug Type: MySQL related
Operating System: Solaris 8
PHP Version: 4.3.0
New Comment:
Looks like broken mysql installation. How was it installed?
Compiled from sources or from Mysql AB provided binaries?
In /opt/sfw/mysql/lib/mysql/ check if there is libmysqlclient.la file
and paste it's content here.
Previous Comments:
------------------------------------------------------------------------
[2003-02-07 13:20:06] allen012@attbi.com
Exact output is:
ld: fatal: file /opt/sfw/mysql/lib/mysql/.libs/libmysqlclient.so: open
failed: No such file or directory
ld: fatal: File processing errors. No output written to
.libs/libphp4.so
Again, why is it lokking for the MySQL client library in ".libs" ?
------------------------------------------------------------------------
[2003-02-06 21:15:54] allen012@attbi.com
Environment: Gnu installation (GCC, MySQL, etc) from Solaris 8
Companion CD, Apache 2.0.44, PHP 4.3.0, MySQL 3.23
Apache compiled and runs fine in the environment.
PHP: ./configure --with-mysql=/opt/sfw/mysql
--with-apxs2=/usr/local/apache2/bin/apxs
PHP configure runs fine, and the build works up to link. It then fails
with:
Cannot find /opt/sfw/mysql/lib/mysql/.lib/libmysqlclient.so
Where is the ".lib" coming from?
The link also indicates that it has failed to create .lib/libphp4.so
Again - what gives with the ".lib"?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22102&edit=1