ID: 40741 Updated by: [EMAIL PROTECTED] Reported By: d dot huijbers at apollo-ict dot nl -Status: Open +Status: Bogus Bug Type: MySQL related Operating System: FreeBSD PHP Version: 5.2.1 New Comment:
Ah, so it DOES work when you fix the mess with MySQL libs. Ok, then I don't see any sense to keep this report open. Previous Comments: ------------------------------------------------------------------------ [2007-03-07 08:53:22] d dot huijbers at apollo-ict dot nl After a day compiling, I found out that when I renamed the directory /usr/local/mysql to /usr/local/mysql3 and than used --with-mysql=/usr/local/mysql5 (my other mysql installation) id worked. Therefore I do not have a 'old' ./sapi/cli/php, but I'm quite sure it linked against libmysqlclient.so.10 not libmysqlclient.so.15 -- LDD FOR WORKING VERSION -- ldd php php: libcrypt.so.2 => /lib/libcrypt.so.2 (0x284f5000) libexslt.so.8 => /usr/local/lib/libexslt.so.8 (0x2850d000) libz.so.2 => /lib/libz.so.2 (0x2851d000) libm.so.3 => /lib/libm.so.3 (0x2852d000) libpanel.so.2 => /usr/lib/libpanel.so.2 (0x28547000) libncurses.so.5 => /lib/libncurses.so.5 (0x2854b000) libmhash.so.2 => /usr/local/lib/libmhash.so.2 (0x2858a000) libmcrypt.so.8 => /usr/local/lib/libmcrypt.so.8 (0x285be000) libltdl.so.4 => /usr/local/lib/libltdl.so.4 (0x285ee000) libintl.so.6 => /usr/local/lib/libintl.so.6 (0x285f6000) libfreetype.so.9 => /usr/local/lib/libfreetype.so.9 (0x285ff000) libpng.so.5 => /usr/local/lib/libpng.so.5 (0x28663000) libbz2.so.1 => /usr/lib/libbz2.so.1 (0x28685000) libcurl.so.4 => /usr/local/lib/libcurl.so.4 (0x28694000) libssl.so.3 => /usr/lib/libssl.so.3 (0x286c8000) libcrypto.so.3 => /lib/libcrypto.so.3 (0x286f6000) libmysqlclient.so.15 => /usr/local/mysql5/lib/mysql/libmysqlclient.so.15 (0x287eb000) libxslt.so.2 => /usr/local/lib/libxslt.so.2 (0x28848000) libxml2.so.5 => /usr/local/lib/libxml2.so.5 (0x28879000) libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x28991000) libc.so.5 => /lib/libc.so.5 (0x28a7e000) ------------------------------------------------------------------------ [2007-03-07 08:28:05] [EMAIL PROTECTED] ldd ./sapi/cli/php ? ------------------------------------------------------------------------ [2007-03-07 08:16:05] d dot huijbers at apollo-ict dot nl -rw-r--r-- 1 mysql wheel 33723 Mar 6 14:49 mysql.h ------------------------------------------------------------------------ [2007-03-07 07:36:11] [EMAIL PROTECTED] ls -l /usr/local/mysql5/include/mysql.h ------------------------------------------------------------------------ [2007-03-06 23:10:15] d dot huijbers at apollo-ict dot nl I installed the mysql.h into both /usr/local/mysql/include/... for mysql 3.x and for mysql 5.x into /usr/local/mysql5/include/ gr. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/40741 -- Edit this bug report at http://bugs.php.net/?id=40741&edit=1