Bug #17636 Updated: LDAP Undefined References

From: Date: Tue, 18 Jun 2002 18:03:29 +0000
Subject: Bug #17636 Updated: LDAP Undefined References
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-11167@lists.php.net to get a copy of this message
ID: 17636 Updated by: brian.luke@schwab.com Reported By: brian.luke@schwab.com -Status: Feedback +Status: Closed Bug Type: LDAP related Operating System: Solaris 2.6 PHP Version: 4.2.1 New Comment: By setting the CC environment variable to gcc and adding --enable-libgcc, I was able to compile php and start the apache server, complete with openldap extensions. Thanks! Previous Comments: ------------------------------------------------------------------------ [2002-06-15 23:13:03] sniper@php.net Try adding --enable-libgcc to your configure line. ------------------------------------------------------------------------ [2002-06-07 17:22:35] brian.luke@schwab.com When Compiled against Open LDAP 2.0.23 and attempting to start apache: Cannot load /opt/httpd/libexec/libphp4.so into server: ld.so.1: /opt/httpd/bin/httpsymbol __eprintf: referenced symbol not found /etc/init.d/apache start: httpd could not be started ------------------------------------------------------------------------ [2002-06-07 03:26:15] mfischer@php.net Please also post the undefined references you get. ------------------------------------------------------------------------ [2002-06-07 02:31:04] brian.luke@schwab.com performed ./configure --with-apxs=/pathtoapxs --with-oci8 --with-mysql --with-ldap=/usr/local/ldap make and make install worked fine. Upon Starting Apache, various undefined references are returned, depending on which flavor of the LDAP libs I compile against. I have OpenLdap 2.0x, Netscape 5.x, and UM LDAP all installed (In different directories) and they all had similar,(but not the same) results when compiled with PHP. OpenLDAP was installed to /usr/local UM LDAP was installed to /usr/local/umldap Netscape 5 LDAP libs were installed to /usr/local/ldap If I configure it without ldap of any sort, it works fine. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17636&edit=1

« previous php.bugs (#11167) next »