#15534 [Opn->Bgs]: Undefined symbol "_mysql_init" w/php4.1.1 & not w/4.0.6 (same parameters)

From: Date: Fri, 23 Aug 2002 13:57:09 +0000
Subject: #15534 [Opn->Bgs]: Undefined symbol "_mysql_init" w/php4.1.1 & not w/4.0.6 (same parameters)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-17651@lists.php.net to get a copy of this message
ID: 15534 Updated by: georg@php.net Reported By: martin@marconcini.com.ar -Status: Open +Status: Bogus Bug Type: MySQL related Operating System: OpenBSD 2.9 PHP Version: 4.1.1 New Comment: This is not a php bug. It looks like your mysql client library wasn't installed correctly. If you can't fix that, use php's embedded libmysql (Note: for using the embedded libmysql, you don't need any special configuration options). Previous Comments: ------------------------------------------------------------------------ [2002-08-14 17:55:15] martin@marconcini.com.ar I am unable to provide more feedback due to the fact that the box broke and it was reinstalled with openbsd 3.0 (and later the hard disk failed). When I have the box up and running again I will try it again. Sorry! Martin. ------------------------------------------------------------------------ [2002-08-14 16:46:07] skarab13@yahoo.com This problem is still not fixed in PHP 4.2.2 with Apache 1.3.19 up through Apache 2.0.40. I've also tried several versions of MySQL, including the latest. The problem seems to have happened just after 4.0.6 as it was the last version to have worked. ------------------------------------------------------------------------ [2002-08-08 01:00:14] php-bugs@lists.php.net No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2002-07-07 22:07:58] sniper@php.net Please try this snapshot, some BSD related compile/configure bugs were fixed lately: http://snaps.php.net/php4-latest.tar.gz ------------------------------------------------------------------------ [2002-02-13 03:46:55] martin@marconcini.com.ar 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 this bug report at http://bugs.php.net/?id=15534&edit=1

« previous php.bugs (#17651) next »