[Samba] libldap not found

Doug VanLeuven roamdad at sonic.net
Mon Feb 13 22:33:24 GMT 2006


David Shapiro wrote:
> Why does it need a shared library?  Can't it use static?
>  
> David
>  
>  
> I see in /usr/local/openldap/lib:
>  
> drwxr-sr-x  10 root     system          512 Feb  7 15:22 ..
> -rw-r--r--   1 root     system       293847 Feb  8 14:58 liblber-2.3.a
> lrwxrwxrwx   1 root     system           13 Feb 12 23:01 liblber.a ->
> liblber-2.3.a
> -rw-r--r--   1 root     system          868 Feb  8 14:58 liblber.la
> -rw-r--r--   1 root     system      3909639 Feb  8 14:58 libldap-2.3.a
> lrwxrwxrwx   1 root     system           13 Feb 12 23:01 libldap.a ->
> libldap-2.3.a
> -rw-r--r--   1 root     system          952 Feb  8 14:58 libldap.la
> -rw-r--r--   1 root     system      4247339 Feb  8 14:58
> libldap_r-2.3.a
> lrwxrwxrwx   1 root     system           15 Feb 12 23:01 libldap_r.a ->
> libldap_r-2.3.a
> -rw-r--r--   1 root     system          962 Feb  8 14:58 libldap_r.la
> 
> 
> openldap was buildt with:
>  
> env CC="gcc -D_LINUX_SOURCE_COMPAT -D_THREAD_SAFE" \
> CPPFLAGS="-I/usr/local/bdb/include -I/usr/local/cyrus-sasl/include
> -I/usr/local/ssl/include" \
> LDFLAGS="-L/usr/local/ssl/lib -L/usr/local/bdb/lib
> -L/usr/local/cyrus-sasl/lib -lpthread" \

try adding -L/usr/local/openldap/lib

Doug


More information about the samba mailing list