On 1/10/07, Robert Milkowski <[EMAIL PROTECTED]> wrote:
With such configure (openldap) it works fine
bash-3.00# ./configure --prefix=/opt/apache2.0.59 --enable-layout=Apache 
--enable-mods-shared=all --enable-suexec --enable-ssl --with-ssl=/usr/sfw 
--with-mpm=prefork --enable-headers --enable-dav --disable-cgi --enable-dav-fs 
--enable-so -with-ldap-include=/opt/csw/include/ --with-ldap 
--with-ldap-lib=/opt/csw/lib/ --enable-ldap --enable-auth-ldap

You really ought to try 2.2.4 - not 2.0.59.  LDAP support was only
experimental (if that) in 2.0.x.  In 2.2.0, LDAP is fully supported.

Undefined                       first referenced
 symbol                             in file
libiconv_close                      
/apache/httpd-2.0.59/srclib/apr-util/.libs/libaprutil-0.so
libiconv_open                       
/apache/httpd-2.0.59/srclib/apr-util/.libs/libaprutil-0.so
libiconv                            
/apache/httpd-2.0.59/srclib/apr-util/.libs/libaprutil-0.so
ld: fatal: Symbol referencing errors. No output written to .libs/htpasswd
*** Error code 1
make: Fatal error: Command failed for target `htpasswd'
Current working directory /apache/httpd-2.0.59/support
*** Error code 1

I don't know how your setup is, but I'd try adding '--without-iconv'
to your configure line.

Anyway if I do not specify openldap libraries I got below errors:
...
bash-3.00# ./configure --prefix=/opt/apache2.0.59 --enable-layout=Apache 
--enable-mods-shared=all --enable-suexec --enable-ssl --with-ssl=/usr/sfw 
--with-mpm=prefork --enable-headers --enable-dav --disable-cgi --enable-dav-fs 
--enable-so --with-ldap --enable-ldap --enable-auth-ldap
bash-3.00# make
[...]
Building shared: mod_ldap.la mod_auth_ldap.la
/apache/httpd-2.0.59/srclib/apr/libtool --silent --mode=compile cc  -g    -DSOLARIS2=11 
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT    -I/apache/httpd-2.0.59/srclib/apr/include 
-I/apache/httpd-2.0.59/srclib/apr-util/include 
-I/apache/httpd-2.0.59/srclib/apr-util/xml/expat/lib -I. -I/apache/httpd-2.0.59/os/unix 
-I/apache/httpd-2.0.59/server/mpm/prefork -I/apache/httpd-2.0.59/modules/http 
-I/apache/httpd-2.0.59/modules/filters -I/apache/httpd-2.0.59/modules/proxy 
-I/apache/httpd-2.0.59/include -I/apache/httpd-2.0.59/modules/generators 
-I/apache/httpd-2.0.59/server -I/usr/sfw/include/openssl -I/usr/sfw/include 
-I/apache/httpd-2.0.59/modules/dav/main -prefer-pic -c util_ldap.c && touch 
util_ldap.slo
"util_ldap.c", line 290: undefined symbol: LDAP_OPT_X_TLS_HARD
"util_ldap.c", line 291: undefined symbol: LDAP_OPT_X_TLS
"util_ldap.c", line 1605: undefined symbol: LDAP_OPT_X_TLS_CACERTFILE
cc: acomp failed for util_ldap.c
*** Error code 1
make: Fatal error: Command failed for target `util_ldap.slo'
Current working directory /apache/httpd-2.0.59/modules/experimental

That code only gets triggered if APR-util thinks you have the OpenLDAP
libraries - not the Solaris libraries.  Have you tried deleting your
config.cache (if it exists)?

But, really, using 2.2.4 would probably do the trick.  -- justin
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to