[csw-maintainers] getting apache2 ldaps authentication to work: test openldap, apache2
rupert THURNER
rupert at opencsw.org
Sun Apr 25 17:05:49 CEST 2010
hi,
last week we did not get the ldaps authentication of apache2 working
with the current package versions in http://opencsw.org/packages. up
to now we have no idea if openssl might be responsible or openldap, or
even apache2.
so i tried to upgrade to recent and recompile the concerned packages
apche2 (done), openssl (failed in at configure), and openldap
(half-done).
as there are so many dependencies i'd be glad about some help and
testing. we will test only the following scenario: apache2
authentication via ldaps, on sparc. as openssl recently was
successfully built, we will try two scenarios, (1) with the old
openssl and (2) with a newly built openldap.
when compiling i had 3 issues see below for the longer error messages:
1. openldap did not link on i386
2. gar complained when doing a remerge
3. openssl - configure did not work
ad 1.
/usr/ccs/bin/ld -G -h libldap-2.3.so.0 -o .libs/libldap-2.3.so.0.2.31
.libs/bind.o .libs/open.o .libs/result.o .libs/error.o .libs/compare.o
.libs/search.o .libs/controls.o .libs/messages.o .libs/references.o
.libs/extended.o .libs/cyrus.o .libs/modify.o .libs/add.o
.libs/modrdn.o .libs/delete.o .libs/abandon.o .libs/sasl.o
.libs/sbind.o .libs/kbind.o .libs/unbind.o .libs/cancel.o
.libs/filter.o .libs/free.o .libs/sort.o .libs/passwd.o .libs/whoami.o
.libs/getdn.o .libs/getentry.o .libs/getattr.o .libs/getvalues.o
.libs/addentry.o .libs/request.o .libs/os-ip.o .libs/url.o
.libs/sortctrl.o .libs/vlvctrl.o .libs/init.o .libs/options.o
.libs/print.o .libs/string.o .libs/util-int.o .libs/schema.o
.libs/charray.o .libs/tls.o .libs/os-local.o .libs/dnssrv.o
.libs/utf-8.o .libs/utf-8-conv.o .libs/turn.o .libs/groupings.o
.libs/txn.o .libs/ppolicy.o .libs/version.o -R/opt/csw/lib/64
-L/opt/csw/bdb44/lib/64 -L/opt/csw/lib/64
-L/home/rupert/mgar/pkg/openldap/trunk/work/solaris9-i386/install-isa-amd64-garversion-2.3.43/opt/csw/lib/64
-llber -lresolv -lgen -lnsl -lsocket -lssl -lcrypto -lc
ld: fatal: file libld.so.3: dlopen failed: ld.so.1: ld: fatal:
libld.so.3: open failed: No such file or directory
libtool: install: error: relink `libldap.la' with the above command
before installing it
gmake[4]: *** [install-local] Error 1
gmake[4]: Leaving directory
`/home/rupert/mgar/pkg/openldap/trunk/work/solaris9-i386/build-isa-amd64-garversion-2.3.43/openldap-2.3.43/libraries/libldap'
gmake[3]: *** [install-common] Error 1
gmake[3]: Leaving directory
`/home/rupert/mgar/pkg/openldap/trunk/work/solaris9-i386/build-isa-amd64-garversion-2.3.43/openldap-2.3.43/libraries'
gmake[2]: *** [install-common] Error 1
gmake[2]: Leaving directory
`/home/rupert/mgar/pkg/openldap/trunk/work/solaris9-i386/build-isa-amd64-garversion-2.3.43/openldap-2.3.43'
gmake[1]: *** [install-work/solaris9-i386/build-isa-amd64-garversion-2.3.43/openldap-2.3.43/Makefile]
Error 2
gmake[1]: Leaving directory `/home/rupert/mgar/pkg/openldap/trunk'
gmake: *** [reset-install-isa-amd64-garversion-2.3.43] Error 2
gmake: Leaving directory `/home/rupert/mgar/pkg/openldap/trunk'
Connection to current9x closed.
ad 2.
just as a sidenote, is it possible that there is still a glitch in
gar? in the beginning, the openldap compile ended with a compiled
sparc 2.4.21 version, with checkpkg failing. correcting the makefile
and doing a repackage ended with The ISA 'amd64' can not be build on
this kernel with the arch 'i386' :
rupert at current9s ~/mgar/pkg/openldap/trunk
$ gmake platforms-reinstall platforms-remerge platforms-repackage
....
/home/rupert/mgar/pkg/openldap/trunk/work/solaris9-i386/pkgroot/./etc/opt/csw/openldap/DB_CONFIG.example
/home/rupert/mgar/pkg/openldap/trunk/work/solaris9-i386/pkgroot/./etc/opt/csw/openldap/ldap.conf
/home/rupert/mgar/pkg/openldap/trunk/work/solaris9-i386/pkgroot/./etc/opt/csw/openldap/slapd.conf.default
gmake[1]: Leaving directory `/home/rupert/mgar/pkg/openldap/trunk'
gmake[1]: Entering directory `/home/rupert/mgar/pkg/openldap/trunk'
[ Reset install state for modulation isa-amd64-garversion-2.3.43:
ISA=amd64 GARVERSION=2.3.43 ]
gmake[1]: Leaving directory `/home/rupert/mgar/pkg/openldap/trunk'
gmake[1]: Entering directory `/home/rupert/mgar/pkg/openldap/trunk'
gar/gar.conf.mk:418: *** The ISA 'amd64' can not be build on this
kernel with the arch 'i386'. Stop.
gmake[1]: Leaving directory `/home/rupert/mgar/pkg/openldap/trunk'
gmake: *** [reset-install-isa-amd64-garversion-2.3.43] Error 2
gmake: Leaving directory `/home/rupert/mgar/pkg/openldap/trunk'
Connection to current9x closed.
gmake: *** [platforms-reinstall] Error 2
rupert at current9s ~/mgar/pkg/openldap/trunk
rupert.
More information about the maintainers
mailing list