php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13552 Unresolved symbol: mysql_*
Submitted: 2001-10-04 21:09 UTC Modified: 2001-11-14 06:41 UTC
From: galan at cup dot hp dot com Assigned:
Status: Closed Package: MySQL related
PHP Version: 4.0.6 OS: HPUX 11.00
Private report: No CVE-ID: None
 [2001-10-04 21:09 UTC] galan at cup dot hp dot 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-05 08:21 UTC] sniper@php.net
Is the path where the mysql libs are in the LIBPATH?

--Jani

 [2001-10-05 19:04 UTC] galan at cup dot hp dot 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:05 UTC] galan at cup dot hp dot 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-23 06:35 UTC] 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-11-14 06:41 UTC] sander@php.net
No feedback. Closing.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 17 21:01:33 2024 UTC