From: patrick_cossette1 at uqtr dot ca Operating system: AIX 4.3.3 PHP version: 4.3.1 PHP Bug Type: Compile Failure Bug description: Make failing: Undefined symbol: .mysql_character_set_name
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 bug report at http://bugs.php.net/?id=23055&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=23055&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=23055&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=23055&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=23055&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=23055&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=23055&r=support Expected behavior: http://bugs.php.net/fix.php?id=23055&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=23055&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=23055&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=23055&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23055&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=23055&r=dst IIS Stability: http://bugs.php.net/fix.php?id=23055&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=23055&r=gnused