Bug #13552 Updated: Unresolved symbol: mysql_*
| From: | galan at cup dot hp dot com | Date: | Fri, 05 Oct 2001 23:05:23 +0000 |
| Subject: | Bug #13552 Updated: Unresolved symbol: mysql_* | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-67387@lists.php.net to get a copy of this message | ||
ID: 13552
User updated by: galan@cup.hp.com
Reported By: galan@cup.hp.com
Status: Open
Bug Type: MySQL related
Operating System: HPUX 11.00
PHP Version: 4.0.6
New Comment:
Yes it is.
Wouldn't configure have failed if the the mysql libs were not found? What libs in particular
does php look for?
Previous Comments:
------------------------------------------------------------------------
[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