#22102 [Opn]: Link fails with modified mysql path
| From: | allen012 at attbi dot com | Date: | Fri, 07 Feb 2003 19:20:07 +0000 |
| Subject: | #22102 [Opn]: Link fails with modified mysql path | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-32406@lists.php.net to get a copy of this message | ||
ID: 22102
User updated by: allen012@attbi.com
Reported By: allen012@attbi.com
Status: Open
Bug Type: Compile Failure
Operating System: Solaris 8
PHP Version: 4.3.0
New Comment:
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" ?
Previous Comments:
------------------------------------------------------------------------
[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