[Samba] --with-ldapsam Compile error on Solaris 8

jan jan at seismo.ifg.ethz.ch
Tue Mar 5 01:38:21 GMT 2002


>
>
>
>You need to edit the configure
>script and remove the -lresolv  in the line that adds the ldap libraries
>and run configure.   
>
hi Danny,

this time I did exactely what you wrote to me :
I edited the configure script and removed only the line that adds the 
ldap libraries (not all lines containing any -lresolv entry)
This seems to be this line :

LIBS="-lldap -llber $LIBS"
line 11891

But configure script fails again and again.

Everytime config.log reports :

configure:13019: gcc -o conftest -DHAVE_CRYPT_DECL 
-I/usr/local/ssl/include -O  -I/usr/local/openldap-2.0.23/include 
-L/usr/local/ssl/lib -L/usr/local/openldap-2.0.23/lib conftest.c -lssl 
-lcrypto -lldap -llber  -lcrypt 1>&5
configure: failed program was:
#line 13015 "configure"
#include "confdefs.h"
#include "./tests/summary.c"

I am not very clever at shell-scripting so line 13015 is very 
cryptographic to me. I do not know why the script fails. Independent of 
the used OS. Free-/or Netbsd. Got the same error on both platforms.
Yesterday evening I also installed debian linux 2.2r5 on a PowerPC 
8500/180 because I hoped and prayed that this time compilation of the 
same software will be successful.
Error is the same even on this Linux machine.
Could probably be a kernel problem because the only working config is 
running on a kernel 2.4.16 (intel) ...


best regards,


jan






More information about the samba mailing list