You have obviously ldap libs that are linked with openssl.
Try adding --with-openssl to your configure line.

# rm config.cache ; ./configure <with your options + --with-openssl>
# make clean ; make ; make install

--Jani

On Thu, 21 Jun 2001, King, John (Greg) (OAO-HOU) wrote:

>OS : Solaris 2.7 (Sparc Architecture)
>PHP : 4.05
>OpenLDAP : 2.0.11 (install with prefix= /usr/local/ldap)
>Apache : 1.3.20
>GCC : 2.95.2 19991024 (release)
>
>Error Message During after issueing:
>
>./configure --without-mysql --with-apache=../apache_1.3.20
>--with-ldap=/usr/local/ldap --enable-track-vars
>
>I get :
>
>+--------------------------------------------------------------------+
>|                       *** ATTENTION ***                            |
>|                                                                    |
>| 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. Please |
>| see the file debug.log for error messages.                         |
>|                                                                    |
>| If you are unable to fix this, send the file debug.log to the      |
>| [EMAIL PROTECTED] mailing list and include appropiate      |
>| information about your setup.                                      |
>+--------------------------------------------------------------------+
>
>Debug.log results :
>
>CONFIGURE:   './configure' '--without-mysql'
>'--with-apache=../apache_1.3.20' '--with-ldap=/usr/local/ldap'
>'--enable-track-vars'
>CC:         gcc
>CFLAGS:     -g -O2
>CPPFLAGS:    -D_POSIX_PTHREAD_SEMANTICS -DSUPPORT_UTF8
>CXX:
>CXXFLAGS:
>INCLUDES:    -I/home/gking/LDAP/apache_1.3.20/src/include
>-I/home/gking/LDAP/apache_1.3.20/src/os/unix  -I$(top_builddir)/Zend -I/us
>r/local/ldap/include
>LDFLAGS:     -R/usr/ucblib -L/usr/ucblib
>-R/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2
>-L/usr/local/lib/gcc-lib/sparc-sun-sol
>aris2.7/2.95.2 -R/usr/local/ldap/lib -L/usr/local/ldap/lib
>LIBS:       -lldap -llber -lresolv -lresolv -lm -ldl -lcrypt -lnsl -lsocket
>-lsocket -lgcc
>DLIBS:
>SAPI:       apache
>PHP_RPATHS:  /usr/ucblib /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2
>/usr/local/ldap/lib
>uname -a:   SunOS unix 5.7 Generic_106541-12 sun4u sparc SUNW,Ultra-5_10
>
>gcc -o conftest -g -O2  -D_POSIX_PTHREAD_SEMANTICS -DSUPPORT_UTF8
>-R/usr/ucblib -L/usr/ucblib -R/usr/local/lib/gcc-lib/sparc-sun-so
>laris2.7/2.95.2 -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2
>-R/usr/local/ldap/lib -L/usr/local/ldap/lib conftest.c -lldap -
>llber -lresolv -lresolv -lm -ldl -lcrypt -lnsl -lsocket  -lsocket -lgcc 1>&5
>Undefined                       first referenced
> symbol                             in file
>SSL_library_init                    /usr/local/ldap/lib/libldap.so
>ERR_error_string                    /usr/local/ldap/lib/libldap.so
>SSL_CTX_set_cipher_list             /usr/local/ldap/lib/libldap.so
>SSL_CIPHER_get_bits                 /usr/local/ldap/lib/libldap.so
>CRYPTO_free                         /usr/local/ldap/lib/libldap.so
>X509V3_add_standard_extensions      /usr/local/ldap/lib/libldap.so
>X509_get_issuer_name                /usr/local/ldap/lib/libldap.so
>SSLv23_method                       /usr/local/ldap/lib/libldap.so
>X509_STORE_CTX_get_current_cert     /usr/local/ldap/lib/libldap.so
>SSL_shutdown                        /usr/local/ldap/lib/libldap.so
>X509_free                           /usr/local/ldap/lib/libldap.so
>SSL_state_string_long               /usr/local/ldap/lib/libldap.so
>X509_STORE_CTX_get_error_depth      /usr/local/ldap/lib/libldap.so
>SSL_CTX_use_PrivateKey_file         /usr/local/ldap/lib/libldap.so
>RAND_load_file                      /usr/local/ldap/lib/libldap.so
>SSL_CTX_set_tmp_rsa_callback        /usr/local/ldap/lib/libldap.so
>SSL_CTX_set_verify                  /usr/local/ldap/lib/libldap.so
>X509_STORE_CTX_get_error            /usr/local/ldap/lib/libldap.so
>SSL_CTX_check_private_key           /usr/local/ldap/lib/libldap.so
>SSL_CTX_free                        /usr/local/ldap/lib/libldap.so
>SSL_alert_type_string_long          /usr/local/ldap/lib/libldap.so
>SSL_set_info_callback               /usr/local/ldap/lib/libldap.so
>SSL_load_error_strings              /usr/local/ldap/lib/libldap.so
>SSL_alert_desc_string_long          /usr/local/ldap/lib/libldap.so
>X509_NAME_get_text_by_NID           /usr/local/ldap/lib/libldap.so
>SSL_get_current_cipher              /usr/local/ldap/lib/libldap.so
>RAND_write_file                     /usr/local/ldap/lib/libldap.so
>RAND_status                         /usr/local/ldap/lib/libldap.so
>SSL_CTX_set_client_CA_list          /usr/local/ldap/lib/libldap.so
>RAND_egd                            /usr/local/ldap/lib/libldap.so
>SSL_CTX_use_certificate_file        /usr/local/ldap/lib/libldap.so
>SSL_set_bio                         /usr/local/ldap/lib/libldap.so
>SSL_connect                         /usr/local/ldap/lib/libldap.so
>RAND_file_name                      /usr/local/ldap/lib/libldap.so
>SSL_CTX_new                         /usr/local/ldap/lib/libldap.so
>X509_get_subject_name               /usr/local/ldap/lib/libldap.so
>RSA_generate_key                    /usr/local/ldap/lib/libldap.so
>SSL_CTX_set_default_verify_paths    /usr/local/ldap/lib/libldap.so
>SSL_write                           /usr/local/ldap/lib/libldap.so
>SSL_CTX_load_verify_locations       /usr/local/ldap/lib/libldap.so
>SSL_new                             /usr/local/ldap/lib/libldap.so
>BIO_new                             /usr/local/ldap/lib/libldap.so
>SSL_get_error                       /usr/local/ldap/lib/libldap.so
>ERR_get_error_line                  /usr/local/ldap/lib/libldap.so
>SSL_load_client_CA_file             /usr/local/ldap/lib/libldap.so
>SSL_free                            /usr/local/ldap/lib/libldap.so
>SSL_pending                         /usr/local/ldap/lib/libldap.so
>ERR_peek_error                      /usr/local/ldap/lib/libldap.so
>SSL_get_peer_certificate            /usr/local/ldap/lib/libldap.so
>SSL_read                            /usr/local/ldap/lib/libldap.so
>SSL_accept                          /usr/local/ldap/lib/libldap.so
>X509_NAME_oneline                   /usr/local/ldap/lib/libldap.so
>ld: fatal: Symbol referencing errors. No output written to conftest
>collect2: ld returned 1 exit status
>
>Greg King
>....
>[EMAIL PROTECTED]
>
>


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to