From: [EMAIL PROTECTED] Operating system: OpenBSD 2.9 PHP version: 4.1.1 PHP Bug Type: MySQL related Bug description: Undefined symbol "_mysql_init" w/php4.1.1 & not w/4.0.6 (same parameters)
Software: - OpenBSD 2.9. - Apache 1.3.19 (comes w/ standard obsd 2.9) - MySQL 3.23.48 (latest) - PHP 4.06 / 4.1.1 - ./configure --with-apxs --with-mysql=/usr/local/mysql (and --with-mysql only) Ladies and Gentlemen: I have had PHP 4.06 working fine w/ MySQL 3.23.39. I decided to Install 4.1.1. I did with the above ./configure. No problems, except that it won't work. Depending upon the --with-mysql parameter i got these messages: /usr/libexec/ld.so: Undefined symbol "_floor" called from httpd:/usr/lib/apache/modules/libphp4.so at 0x403235f4 or /usr/libexec/ld.so: Undefined symbol "_mysql_init" called from httpd:/usr/lib/apache/modules/libphp4.so at 0x4030d304 I decided to upgrade MySQL to latest (3.23.48). I compiled it from Source. MySQL works fine. But Same Problem with apache/php/mysql. Apache works fine when no php is involved. (either php responds to a php_info(), but it stops on the mysql part). After hours of multiple make cleans, makes, configures makes install i decided to download php 4.06 again. I did compile it with the above options (specifying the MySQL path), and guess what? it works the way it did and I have the latest MySQL. I really don't know what to say. This is a P133 and it takes some time to compile. I have tried the --enable-vars-whatever parameter (which gave me the first error above, the _floor one). I've been searching on Google/Mailing Lists/etc and found no help on this matter. (It seems like an OLD problem on Older versions of PHP), nothing new. I've been playing around w/configuration .ini's (i've tried both recommended and dist). Any Ideas? A note. When I returned to php 4.06 i have had a problem with libmysqclient.so.10.0 not being found. I simply made a link from mysql install to /usr/lib I will appreciate any help. Best Regards, Martin Marconcini -- Edit bug report at http://bugs.php.net/?id=15534&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=15534&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=15534&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=15534&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=15534&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=15534&r=support Expected behavior: http://bugs.php.net/fix.php?id=15534&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=15534&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=15534&r=submittedtwice