ID: 13552
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Feedback
Bug Type: MySQL related
Operating System: HPUX 11.00
PHP Version: 4.0.6
New Comment:

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



Previous Comments:
------------------------------------------------------------------------

[2001-10-05 19:05:22] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

Is the path where the mysql libs are in the LIBPATH?

--Jani


------------------------------------------------------------------------

[2001-10-04 21:09:46] [EMAIL PROTECTED]

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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to