#22102 [Fbk->NoF]: Link fails with modified mysql path
| From: | sniper@php.net | Date: | Thu, 20 Feb 2003 14:09:13 +0000 |
| Subject: | #22102 [Fbk->NoF]: Link fails with modified mysql path | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-33709@lists.php.net to get a copy of this message | ||
ID: 22102
Updated by: sniper@php.net
Reported By: allen012 at attbi dot com
-Status: Feedback
+Status: No Feedback
Bug Type: MySQL related
Operating System: Solaris 8
PHP Version: 4.3.0
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2003-02-07 23:29:00] sniper@php.net
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.
------------------------------------------------------------------------
[2003-02-07 13:20:06] allen012 at attbi dot 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 at attbi dot 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