Bug #13552 Updated: Unresolved symbol: mysql_*
| From: | sander@php.net | Date: | Wed, 14 Nov 2001 11:41:22 +0000 |
| Subject: | Bug #13552 Updated: Unresolved symbol: mysql_* | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-70439@lists.php.net to get a copy of this message | ||
ID: 13552
Updated by: sander
Reported By: galan@cup.hp.com
Old Status: Feedback
Status: Closed
Bug Type: MySQL related
Operating System: HPUX 11.00
PHP Version: 4.0.6
New Comment:
No feedback. Closing.
Previous Comments:
------------------------------------------------------------------------
[2001-10-23 06:35:29] sniper@php.net
Which mysql libs do you have under /opt/mysql/ ?
Have you tried doing 'make clean ; make' ?
Have you done some reconfiguring at some point?
You should delete config.cache if so and redo the
configure and also do 'make clean ; make' after configure.
--Jani
------------------------------------------------------------------------
[2001-10-05 19:05:22] galan@cup.hp.com
Yes it is.
Wouldn't configure have failed if the the mysql libs were not found? What libs in particular
does php look for?
------------------------------------------------------------------------
[2001-10-05 19:04:49] galan@cup.hp.com
Yes it is.
Wouldn't configure have failed if the the mysql libs were not found? What libs in particular
does php look for?
------------------------------------------------------------------------
[2001-10-05 08:21:26] sniper@php.net
Is the path where the mysql libs are in the LIBPATH?
--Jani
------------------------------------------------------------------------
[2001-10-04 21:09:46] galan@cup.hp.com
Apache 1.3.14
Mysql 3.23.39
PHP 4.0.6
HP ANSI compilers
./configure --with-apxs=/opt/apache/bin/apxs \
--with-freetype-dir=/opt/freetype2 \
--enable-freetype-4bit-antialias-hack \
--enable-ftp \
--with-mysql=/opt/mysql \
--with-pdflib=/usr/local/lib \
--enable-shared-pdflib \
--with-config-file-path=/opt/apache/etc/php.ini
modified apxs & changed .so to.sl suffix
after a make install, I start apache & it spews a large
amount of Unresolved mysql symbols.
nm /opt/apache/lib/modules/libphp4.sl | grep mysql
mysql_affected_rows | |undef |code |
mysql_affected_rows | 1043176|uext |stub |
mysql_close | |undef |code |
mysql_close | 1019288|uext |stub |
Most MySQL symbols are undefined in libphp4.sl
Any ideas on the cause?
Everything works when I exclude mysql from
the configure script.
Thanks
Tony Galan
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=13552&edit=1