Bug #14452 Updated: libphp4.so is not linking with *.la files
| From: | sniper@php.net | Date: | Fri, 14 Dec 2001 04:55:24 +0000 |
| Subject: | Bug #14452 Updated: libphp4.so is not linking with *.la files | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-73665@lists.php.net to get a copy of this message | ||
ID: 14452
Updated by: sniper
Reported By: glen@designsolution.co.uk
Old Status: Open
Status: Feedback
Bug Type: *Configuration Issues
Operating System: Linux
PHP Version: 4.1.0
New Comment:
How exactly did you configure/compile/install Mysql ?
And what linux distribution is this ?
--Jani
Previous Comments:
------------------------------------------------------------------------
[2001-12-13 06:18:31] glen@designsolution.co.uk
I deleted the libmysqlclient.la file from /usr/lib/mysql
and tried re-compiling, but still got the same error.
------------------------------------------------------------------------
[2001-12-12 12:45:29] sniper@php.net
I guess you're getting the libtool bug I noticed myself too.
Try deleting the .la file.
--Jani
------------------------------------------------------------------------
[2001-12-12 07:47:06] glen@designsolution.co.uk
I have configured PHP with the following options:
./configure --with-apxs=/usr/sbin/apxs --with-mysql=/usr
/usr/lib/mysql contains libmyclient.a and libmyclient.sa.
Configuration and make goes fine, though I get the
following warning:
*** Warning: This library needs some functionality provided
by /usr/lib/mysql/libmysqlclient.la.
*** I have the capability to make that library
automatically link in when
*** you link to this library. But I can only do this if
you have a
*** shared version of the library, which you do not appear
to have.
Install goes fine, but when I restart Apache ( 1.3.3 ), I
get the following error:
Cannot load /usr/lib/apache/libphp4.so into server: /usr/
lib/apache/libphp4.so: undefined symbol: mysql_free_result
PHP 4.0.6 compiled from source and ran with no such
problems.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=14452&edit=1