ID: 15945 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback Bug Type: MySQL related Operating System: RedHat 7.2 PHP Version: 4.1.2 New Comment:
If you could please try the PHP 4.2.0 RC2 to see if this happens with it too..http://www.php.net/~derick/ Also, you could try compiling with the bundled mysql libs. ie. leave the path out from the --with-mysql option. --Jani Previous Comments: ------------------------------------------------------------------------ [2002-03-08 07:08:44] [EMAIL PROTECTED] Try checking first that the libphp4.so is finding all necessary libraries: # ldd /etc/httpd/modules/libphp4.so Produced: [root@localhost etc]# ldd /etc/httpd/modules/libphp4.so libc.so.6 => /lib/i686/libc.so.6 (0x4011e000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000) Added /usr/local/mysql/lib/mysql to /etc/ld.so.comfig leaving off the trailing "/" because the other entries didn't have one. Ran /sbin/ldconfig without apparent effect as it came back to the command line without any messages. Undefined symbol error unchanged. . ------------------------------------------------------------------------ [2002-03-08 03:00:28] [EMAIL PROTECTED] Try checking first that the libphp4.so is finding all necessary libraries: # ldd /etc/httpd/modules/libphp4.so As you might not have /usr/local/mysql/lib/mysql/ in your /etc/ld.so.conf Try adding it and run /sbin/ldconfig --Jani ------------------------------------------------------------------------ [2002-03-07 22:53:01] [EMAIL PROTECTED] While starting Apache I get an undefined symbol error. mysql_field_count Running RedHat 7.2 Installed MySQL 3.23.49a from binary into /usr/local/mysql from mysql-3.23.49a-pc-linux-gnu-i686. MySQL runs correctly. php-4.1.2.tar.gz untarred into php-4.1.2 build was ./configure "--with-mysql=/usr/local/mysql and --with-apxs=/usr/sbin/apxs" ran correctly (without error) make ran without error make install ran without error Apache won't start, reporting "undefined symbol" /etc/rc.d/init.d/httpd start Starting httpd: Syntax error on line 261 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/libphp4.so into server: /etc/httpd/modules/libphp4.so: undefined symbol: mysql_field_count [FAILED] ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15945&edit=1
