From: silver at sprintserve dot net Operating system: RHEL 3 Taroon 8 PHP version: 5.2.4 PHP Bug Type: Compile Failure Bug description: Compile Fails with Mysql Related Error Message
Description: ------------ Compile fails with the following error: ext/mysql/.libs/php_mysql.o(.text+0x2e9): In function `zm_startup_mysql': /usr/local/src/php-5.2.4/ext/mysql/php_mysql.c:404: undefined reference to `mysql_server_init' ext/mysql/.libs/php_mysql.o(.text+0x307): In function `zm_shutdown_mysql': /usr/local/src/php-5.2.4/ext/mysql/php_mysql.c:423: undefined reference to `mysql_server_end' collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 This is the configure line: ./configure --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --with-libdir=/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --cache-file=../config.cache --enable-force-cgi-redirect --disable-debug --disable-rpath --enable-inline-optimization --with-bz2 --with-curl --with-exec-dir=/usr/bin --with-png-dir=/usr --with-gd --enable-gd-native-ttf --with-ttf --with-gettext --with-ncurses --with-gmp --with-iconv --with-jpeg-dir=/usr --with-openssl --with-pspell --with-regex=system --with-zlib --with-layout=GNU --enable-bcmath --enable-exif --enable-ftp --enable-magic-quotes --enable-safe-mode --enable-sockets --enable-sysvsem --enable-sysvshm --enable-discard-path --enable-wddx --enable-mbstring --enable-mbregex --with-pear=/usr/share/pear --with-kerberos=/usr/kerberos --with-ldap=shared --with-mysql=/usr/bin/mysql_config --enable-calendar --with-apxs2filter=/usr/sbin/apxs Mysql is the stock Redhat Enterprise 3 RPMs version 3. Prior versions worked fine. Thank you. Reproduce code: --------------- NA Expected result: ---------------- NA Actual result: -------------- NA -- Edit bug report at http://bugs.php.net/?id=42549&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=42549&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=42549&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=42549&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=42549&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=42549&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=42549&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=42549&r=needscript Try newer version: http://bugs.php.net/fix.php?id=42549&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=42549&r=support Expected behavior: http://bugs.php.net/fix.php?id=42549&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=42549&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=42549&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=42549&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=42549&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=42549&r=dst IIS Stability: http://bugs.php.net/fix.php?id=42549&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=42549&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=42549&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=42549&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=42549&r=mysqlcfg
