are you using gnu binutils to create the shared libraries? i have solaris 8 with openldap 2.0.11 and no problems with shared libraries...
-----Original Message-----
From: Jan Z. [mailto:j.zeller@gpstechnik.ch]
Sent: Tuesday, August 28, 2001 2:56 AM
To: openldap-software@OpenLDAP.org
Subject: Re: solaris-8 and openldap-2.0.11
> hello,
>
> be careful with gcc-2.95.3. I am using it on Solaris 8 and I can't build
the
> libraries properly. I always have symbol not found errors like that :
>
> ldd -d /usr/local/openldap-2.0.11/lib/libldap.so
> libc.so.1 => /usr/lib/libc.so.1
> libdl.so.1 => /usr/lib/libdl.so.1
> symbol not found: ber_sockbuf_io_debug
> (/usr/local/openldap-2.0.11/lib/libldap.so)
> symbol not found: ber_sockbuf_io_tcp
> (/usr/local/openldap-2.0.11/lib/libldap.so)
> symbol not found: ber_sockbuf_io_readahead
> (/usr/local/openldap-2.0.11/lib/libldap.so)
> symbol not found: ber_sockbuf_io_fd
> (/usr/local/openldap-2.0.11/lib/libldap.so)
> /usr/platform/SUNW,UltraAX-i2/lib/libc_psr.so.1
> symbol not found: ber_pvt_log_print
> (/usr/local/openldap-2.0.11/lib/libldap.so
>
> I absolutely don't know why I am getting this and I also don't know the
> consequences.
> Could probably be that when once using these symbols something crashes. Or
> for example if you need to have this libary for building php4...
hmmm nearly all the ber_xy - functions (seems to be functions to me...) are
defined in lber.h.
I don't understand why the building of libldap.so misses these symbols...??
Anyone knows ?
regards,
Jan