[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: problems loading libldap shared object on solaris



On Sat, Sep 15, 2001 at 12:28:09PM -0700, Himanshu Soni wrote:
> ...
> ber_sockbuf_io_readahead is defined in liblber.so but somehow, this shared
> object is not listed as dependency of libldap.so:
> 
> {bin/lib} engsrv[435]--> ldd libldap.so
>         libc.so.1 =>     /usr/lib/libc.so.1
>         libucb.so.1 =>   /usr/ucblib/libucb.so.1

Having /usr/ucblib in your LD_LIBRARY_PATH or equivalent is a BAD IDEA
on solaris. 
Particularly when it comes to using sockets.

do

env | grep ucblib

and remove it from any variables you find there.



(and remove /usr/ucb from your PATH, while you're at it)