#40741 [Fbk->Opn]: ldd ./sapi/cli/php

From: Date: Wed, 07 Mar 2007 08:53:22 +0000
Subject: #40741 [Fbk->Opn]: ldd ./sapi/cli/php
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-110038@lists.php.net to get a copy of this message
ID: 40741 User updated by: d dot huijbers at apollo-ict dot nl -Summary: Permissions of mysql.h Reported By: d dot huijbers at apollo-ict dot nl -Status: Feedback +Status: Open Bug Type: MySQL related Operating System: FreeBSD PHP Version: 5.2.1 New Comment: 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) Previous Comments: ------------------------------------------------------------------------ [2007-03-07 08:28:05] tony2001@php.net 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] tony2001@php.net 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. ------------------------------------------------------------------------ [2007-03-06 19:02:29] tony2001@php.net These lines are incorrect: --with-zlib-dir=/usr/include \ --with-freetype-dir=/usr/local/include/freetype2 \ --with-libxml-dir=/usr/local/include/libxml2 \ --with-curl=/usr/local/include/curl/ \ The values are supposed to be prefixes, i.e. /usr or /usr/local. >--with-mysql=/usr/local/mysql5 Where did you install MySQL headers? (mysql.h particularly) ------------------------------------------------------------------------ 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

« previous php.bugs (#110038) next »