For some reason -llber is missing.  Do you have a liblber.a or liblber.so
file on your system?  If so, which directory is it in?  If, for example it
is in /usr/lib/libllber.a then use --with-ldap=/usr and try again.

Otherwise manually hack the Makefile and add a -llber to the LIBS line.
but the configure check really should have picked up this library if in
fact you have it installed on your system.  My guess is that it is missing
from your system.

-Rasmus

On Fri, 22 Feb 2002, [ISO-8859-1] Gérard Gachelin wrote:

> I have a problem configuring php 4.1.1 on a Sparc Server running Solaris 8.
> C compiler : gcc 2.95.3
> OpenLDAP 2.0.23 is installed.
> In debug.log I find :
>
> gcc -o conftest -g -O2  -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=280
> -DMOD_SSL=208106 -DMOD_PERL -DUSE_PERL_SSI -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -DEAPI -DEAPI_MM -DUSE_EXPAT  -R/usr/ucblib
> -L/usr/ucblib -R/usr/local/ssl/lib -L/usr/local/ssl/lib
> -R/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3
> -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3 -R/usr/local/lib
> -L/usr/local/lib -R/usr/local/mysql/lib -L/usr/local/mysql/lib
> conftest.c -lmm -lmysqlclient -lz -lldap -lintl -lgd -ljpeg -lz -lcrypt
> -lssl -lcrypto -lresolv -lresolv -lm -ldl -lnsl -lsocket  -lsocket -lgcc
> -lcrypt 1>&5
> Undefined                       first referenced
>   symbol                             in file
> ber_dup                             /usr/local/lib/libldap.so
> ber_get_int                         /usr/local/lib/libldap.so
> ber_printf                          /usr/local/lib/libldap.so
> ber_next_element                    /usr/local/lib/libldap.so
> ber_sockbuf_io_readahead            /usr/local/lib/libldap.so
> ber_init                            /usr/local/lib/libldap.so
> ber_write                           /usr/local/lib/libldap.so
> ber_log_dump                        /usr/local/lib/libldap.so
> ber_first_element                   /usr/local/lib/libldap.so
> ber_sockbuf_alloc                   /usr/local/lib/libldap.so
> ber_reset                           /usr/local/lib/libldap.so
> ber_sockbuf_io_tcp                  /usr/local/lib/libldap.so
> ber_sockbuf_remove_io               /usr/local/lib/libldap.so
> ber_memrealloc                      /usr/local/lib/libldap.so
> ber_sockbuf_io_fd                   /usr/local/lib/libldap.so
> ber_flush                           /usr/local/lib/libldap.so
> ber_flatten                         /usr/local/lib/libldap.so
> ber_pvt_socket_set_nonblock         /usr/local/lib/libldap.so
> ber_scanf                           /usr/local/lib/libldap.so
> ber_peek_tag                        /usr/local/lib/libldap.so
> ber_memfree                         /usr/local/lib/libldap.so
> ber_memcalloc                       /usr/local/lib/libldap.so
> ber_set_option                      /usr/local/lib/libldap.so
> ber_memvfree                        /usr/local/lib/libldap.so
> ber_sockbuf_io_debug                /usr/local/lib/libldap.so
> ber_get_next                        /usr/local/lib/libldap.so
> ber_sockbuf_ctrl                    /usr/local/lib/libldap.so
> ber_bvfree                          /usr/local/lib/libldap.so
> ber_free                            /usr/local/lib/libldap.so
> ber_bvecfree                        /usr/local/lib/libldap.so
> ber_memalloc                        /usr/local/lib/libldap.so
> ber_strdup                          /usr/local/lib/libldap.so
> ber_sockbuf_free                    /usr/local/lib/libldap.so
> ber_skip_tag                        /usr/local/lib/libldap.so
> ber_pvt_log_print                   /usr/local/lib/libldap.so
> ber_alloc_t                         /usr/local/lib/libldap.so
> ber_sockbuf_add_io                  /usr/local/lib/libldap.so
> ld: fatal: Symbol referencing errors. No output written to conftest
> collect2: ld returned 1 exit status
> (END)
>
> Here attached is the whole debug.log file
>
> Thanx for any help
>
> --
> Gerard Gachelin                               Universite de la Reunion
> 15, Avenue Rene Cassin - BP 7151      97715 Saint-Denis MESSAG-CEDEX 9
> Tel: 0262 93 82 72                    Fax: 0262 93 82 60
> Email : [EMAIL PROTECTED]
>


--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to