#15534 [Fbk->NoF]: Undefined symbol "_mysql_init" w/php4.1.1 & not w/4.0.6 (same parameters)
| From: | php-bugs at lists dot php dot net | Date: | Thu, 08 Aug 2002 05:00:14 +0000 |
| Subject: | #15534 [Fbk->NoF]: 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-16226@lists.php.net to get a copy of this message | ||
ID: 15534
Updated by: php-bugs@lists.php.net
Reported By: martin@marconcini.com.ar
-Status: Feedback
+Status: No Feedback
Bug Type: MySQL related
Operating System: OpenBSD 2.9
PHP Version: 4.1.1
New Comment:
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".
Previous Comments:
------------------------------------------------------------------------
[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