ID: 23055
Updated by: [EMAIL PROTECTED]
Reported By: patrick_cossette1 at uqtr dot ca
-Status: Open
+Status: Feedback
-Bug Type: Compile Failure
+Bug Type: MySQL related
Operating System: AIX 4.3.3
-PHP Version: 4.3.1
+PHP Version: 4.3.2-RC
New Comment:
What mysql version?
Does using the bundled mysql work? (ie. using plain --with-mysql)
Previous Comments:
------------------------------------------------------------------------
[2003-04-04 10:44:31] patrick_cossette1 at uqtr dot ca
I'm trying to compile PHP-4.3.1 (I also tried php4-STABLE-200304021830)
with the following flags:
./configure
--prefix=/p/testsphp432/
--with-config-file-path=/p/testsphp432/etc
--with-mysql=/p/mysql
and I'm getting the following when I run make:
main/internal_functions.lo -lmysqlclient -lcrypt -lm -lcrypt -o
sapi/cgi/php
ld: 0711-317 ERROR: Undefined symbol: .mysql_character_set_name
ld: 0711-317 ERROR: Undefined symbol: .mysql_real_escape_string
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
make: 1254-004 The error code from the last command is 8.
Stop.
I also tried with the snapshot php4-STABLE-200304021830 and I get the
same error.
I also tried setting the following two environment variables
(which helped me setup php with the past versions) but it did
nothing with 4.3.1 and the latest stable (I get the same error
message).
CFLAGS='-qmaxmem=32768 -DInline=ma'
CC='cc -ma'
Maybe it's a compiler problem or there is a compiler flag missing but
I've been trying all sort of things for days and I saw similar problems
in the past in the bug history.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23055&edit=1