ID: 38882 User updated by: d dot wynne at ljmu dot ac dot uk Reported By: d dot wynne at ljmu dot ac dot uk -Status: Feedback +Status: Open Bug Type: LDAP related Operating System: SuSE 10.1 x86_64 PHP Version: 4.4.4 New Comment:
mysql-client-5.0.18-16 mysql-devel-5.0.18-16 mysql-shared-5.0.18-16 The client libraies are only located at /usr/lib64/mysql, so again I had to copy these to /usr/lib to get configure to see them mysql_* functions work fine, and using PEAR too. Our MySQL server is actually on a different host so no mysql-server packages on this host. Previous Comments: ------------------------------------------------------------------------ [2006-09-19 13:48:28] [EMAIL PROTECTED] Which MySQL version do you use? ------------------------------------------------------------------------ [2006-09-19 13:42:40] d dot wynne at ljmu dot ac dot uk Description: ------------ Thsi line causes Segmentation fault: if (!($ldap = ldap_connect("localhost"))) { ./configure '--prefix=/usr' '--datadir=/usr/share/php' '--mandir=/usr/share/man' '--bindir=/usr/bin' '--includedir=/usr/include' '--sysconfdir=/etc' '--with-config-file-path=/etc' '--with-exec-dir=/usr/lib/php/bin' '--enable-debug' '--enable-inline-optimization' '--enable-memory-limit' '--enable-magic-quotes' '--enable-safe-mode' '--enable-sigchild' '--disable-ctype' '--with-mysql=/usr' '--with-mssql=/usr' '--with-oci8=/net/oracle/10g' '--disable-cgi' '--with-pear=/usr/share/php' '--with-openssl' '--with-ldap' '--with-apxs2=/usr/sbin/apxs2-prefork' Some libraries come with both 32bit & 64bit versions: openldap2-client-32bit-2.3.19-18 openldap2-client-2.3.19-18 I manually moved the /usr/lib64 libraries to /usr/lib. No way to use configure to do this. Rebuilt php 4.4.4 ( also tried 4.4.3 earlier ). Same result. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=38882&edit=1