Hello Justin,
Thursday, January 11, 2007, 12:56:55 AM, you wrote:
JE> On 1/10/07, Robert Milkowski <[EMAIL PROTECTED]> wrote:
>> According to documentation it should.
>> But I didn't manage to compile it on snv_54.
>> I installed openldap from Blastwave and compiled against it - worked
>> perfectly.
JE> I don't have a snv_54 build locally, but if you can provide the
JE> compilation errors, I might be able to help. (I'd recommend using
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
bash-3.00# make
[...]
Well it used to work and now I get:
[...]
/apache/httpd-2.0.59/srclib/apr/libtool --silent --mode=link 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/opt/csw/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 -export-dynamic -L/opt/csw/lib/
-L/apache/httpd-2.0.59/srclib/apr-util/xml/expat/lib -L/usr/sfw/lib
-R/usr/sfw/lib -o htpasswd htpasswd.lo -lssl -lcrypto -R/usr/sfw/lib
-L/usr/sfw/lib -lsocket -lnsl -ldl /apache/httpd-2.0.59/srclib/pcre/libpcre.la
/apache/httpd-2.0.59/srclib/apr-util/libaprutil-0.la -lldap -llber
/apache/httpd-2.0.59/srclib/apr-util/xml/expat/lib/libexpat.la
/apache/httpd-2.0.59/srclib/apr/libapr-0.la -lsendfile -lm -lsocket -lnsl
-lresolv -lpthread
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
The difference is I was compiling with gcc before.
I've just tried - it doesn't work with gcc either.
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
*** Error code 1
The following command caused the error:
if test `pwd` = "/apache/httpd-2.0.59"; then \
echo "" ; \
fi; \
list=''; for i in $list; do \
target="shared-build"; \
if test "$i" = "."; then \
made_local=yes; \
target="local-shared-build"; \
fi; \
if test "$i" != "srclib"; then \
(cd $i && make $target) || exit 1; \
fi; \
done; \
if test -f 'modules.mk'; then \
if test -n 'mod_ldap.la mod_auth_ldap.la'; then \
echo "Building shared: mod_ldap.la mod_auth_ldap.la"; \
if test "$made_local" != "yes"; then \
make "local-shared-build" || exit 1; \
fi; \
fi; \
fi; \
if test `pwd` = "/apache/httpd-2.0.59"; then \
echo "" ; \
fi
make: Fatal error: Command failed for target `shared-build-recursive'
Current working directory /apache/httpd-2.0.59/modules/experimental
*** Error code 1
The following command caused the error:
if test `pwd` = "/apache/httpd-2.0.59"; then \
echo "" ; \
fi; \
list='aaa experimental filters loggers metadata ssl http dav/main generators
dav/fs mappers'; for i in $list; do \
target="shared-build"; \
if test "$i" = "."; then \
made_local=yes; \
target="local-shared-build"; \
fi; \
if test "$i" != "srclib"; then \
(cd $i && make $target) || exit 1; \
fi; \
done; \
if test -f 'modules.mk'; then \
if test -n ''; then \
echo "Building shared: "; \
if test "$made_local" != "yes"; then \
make "local-shared-build" || exit 1; \
fi; \
fi; \
fi; \
if test `pwd` = "/apache/httpd-2.0.59"; then \
echo "" ; \
fi
make: Fatal error: Command failed for target `shared-build-recursive'
Current working directory /apache/httpd-2.0.59/modules
*** Error code 1
The following command caused the error:
if test `pwd` = "/apache/httpd-2.0.59"; then \
echo "" ; \
fi; \
list='srclib os server modules support'; for i in $list; do \
target="shared-build"; \
if test "$i" = "."; then \
made_local=yes; \
target="local-shared-build"; \
fi; \
if test "$i" != "srclib"; then \
(cd $i && make $target) || exit 1; \
fi; \
done; \
if test -f 'modules.mk'; then \
if test -n ''; then \
echo "Building shared: "; \
if test "$made_local" != "yes"; then \
make "local-shared-build" || exit 1; \
fi; \
fi; \
fi; \
if test `pwd` = "/apache/httpd-2.0.59"; then \
echo "" ; \
fi
make: Fatal error: Command failed for target `shared-build-recursive'
Current working directory /apache/httpd-2.0.59
*** Error code 1
The following command caused the error:
otarget=`echo all-recursive|sed s/-recursive//`; \
list=' srclib os server modules support'; \
for i in $list; do \
if test -d "$i"; then \
target="$otarget"; \
echo "Making $target in $i"; \
if test "$i" = "."; then \
made_local=yes; \
target="local-$target"; \
fi; \
(cd $i && make $target) || exit 1; \
fi; \
done; \
if test "$otarget" = "all" && test -z 'httpd shared-build suexec'; then \
made_local=yes; \
fi; \
if test "$made_local" != "yes"; then \
make "local-$otarget" || exit 1; \
fi
make: Fatal error: Command failed for target `all-recursive'
bash-3.00#
--
Best regards,
Robert mailto:[EMAIL PROTECTED]
http://milek.blogspot.com
_______________________________________________
opensolaris-discuss mailing list
[email protected]