Bug #14452: libphp4.so is not linking with *.la files
| From: | glen at designsolution dot co dot uk | Date: | Wed, 12 Dec 2001 12:47:07 +0000 |
| Subject: | Bug #14452: libphp4.so is not linking with *.la files | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-73283@lists.php.net to get a copy of this message | ||
From: glen@designsolution.co.uk
Operating system: Linux
PHP version: 4.1.0
PHP Bug Type: *Configuration Issues
Bug description: libphp4.so is not linking with *.la files
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 bug report at: http://bugs.php.net/?id=14452&edit=1