Re: Solaris 8, Netscape LDAP, PHP, Apache
| From: | Alfred Lerch | Date: | Tue, 12 Dec 2000 09:15:18 +0000 |
| Subject: | Re: Solaris 8, Netscape LDAP, PHP, Apache | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-1160@lists.php.net to get a copy of this message | ||
Hi Miles,
I tried unsuccessfully to get PHP compiled with NS LDAP. Once I switched
to OpenLDAP http://www.openldap.org it worked like a charm.
regards
alfred
Miles Lancaster wrote:
>
> Hello,
>
> I'm trying to compile php with ldap support using apache's apxs. I
> don't have any trouble compiling or using any of the components untill I
> add ldap to the mix. My relevant info:
>
> Solaris 8
> Netscape C LDAP SDK 4.11
> PHP 4.0.3 pl1
> Apache 1.3.14
>
> The attached debug.log file says that ld is unable to find the
> libldapssl41.so file. The file is located in /usr/local/ldap/lib/ and
> everything has 755 permissions. The flags preceeding the fatal error
> show that /usr/local/ldap/lib is in the library search path. My
> LD_LIBRARY_PATH environment variable specifies the /usr/local/ldap/lib
> directory also. My configure statement reads:
>
> ./configure --with-apxs=/usr/local/apache/bin/apxs
> --with-mysql=/usr/local/mysql --with-ldap=/usr/local/ldap
>
> The configure script ends telling me:
> Something is likely to be messed up here, because the configure script
> was not able to detect a simple feature on your platform. This is often
> caused by incorrect configuration parameters.
>
> Thanks,
> Miles
>
> --
> Miles Lancaster <mlancast@engr.uga.edu>
> Driftmier Office of Information Technology (DOIT)
> Driftmier Engineering Center
> University of Georgia
> Athens GA 30602
> 706.542.0865
>
> ------------------------------------------------------------------------
> CONFIGURE: './configure' '--with-apxs=/usr/local/apache/bin/apxs'
> '--with-mysql=/usr/local/mysql' '--with-ldap=/usr/local/ldap'
> CC: gcc
> CFLAGS: -g -O2
> CPPFLAGS: -D_POSIX_PTHREAD_SEMANTICS
> CXX:
> CXXFLAGS:
> INCLUDES: -I/usr/local/apache/include -I$(top_builddir)/Zend -I$(top_srcdir)
> -I/usr/local/ldap/include -I/usr/local/mysql/include/mysql
> LDFLAGS: -R/usr/ucblib -L/usr/ucblib -R/usr/local/ldap/lib -L/usr/local/ldap/lib
> -R/usr/local/mysql/lib/mysql -L/usr/local/mysql/lib/mysql
> LIBS: -lmysqlclient -lldapssl41 -lresolv -lresolv -lm -ldl -lcrypt -lnsl -lsocket
> -lsocket
> DLIBS:
> SAPI: apache
> PHP_RPATHS: /usr/ucblib /usr/local/ldap/lib /usr/local/mysql/lib/mysql
> uname -a: SunOS guinness 5.8 Generic sun4u sparc SUNW,Ultra-5_10
>
> gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib
> -R/usr/local/ldap/lib -L/usr/local/ldap/lib -R/usr/local/mysql/lib/mysql
> -L/usr/local/mysql/lib/mysql conftest.c -lmysqlclient -lldapssl41 -lresolv -lresolv -lm -ldl -lcrypt
> -lnsl -lsocket -lsocket 1>&5
> ld: fatal: library -lldapssl41: not found
> ld: fatal: File processing errors. No output written to conftest
> collect2: ld returned 1 exit status
>
> ------------------------------------------------------------------------
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net
> For additional commands, e-mail: php-install-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
--
--
\\\\\///
/ ^ _ \
( (o) (o) ) --- That's all folks ---
+=oOOO=====(_)=====OOOo==========================================+
|Alfred Lerch Mentor Graphics Deutschland GmbH|
|Network & System Administrator Elsenheimer Str. 41 - 43|
|IT - Business Support Team Munich D-80687 Muenchen, Germany|
|email: alfred_lerch@mentor.com Fax : +49 89 57096-400|
|Tel. : +49 89 57096-241 Mobile: +49 172 8915200|
| |
|Helpdesk IT Central Europe in Munich |
|Tel. : +49 89 57096-110 internal: 777|
|email: helpdesk_dem@mentor.com |
+=============Oooo.==============================================+
.oooO ( )
( ) ) /
\ ( (_/
\_)