[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
(ITS#5686) OpenLDAP build broken for solaris 64bit
Full_Name: Christoph Weber-Fahr
Version: openldap-2.4.11
OS: Solaris 9 (SunOS ldapsun 5.9 Generic_122300-06 sun4u sparc SUNW,Sun-Blade-100)
URL:
Submission from: (NULL) (145.253.3.244)
Machine has gcc (3.4.6) and gnu binutils from sunfreeware installed (plus a few
other things)
I built Openssl and BerkeleyDB in 64bit mode.
I then built openldap with the following commands:
LD_LIBRARY_PATH='/usr/local/lib/sparcv9:/usr/local/lib'
export LD_LIBRARY_PATH
sh configure \
--prefix="/usr/local" \
--disable-ipv6 \
--without-threads \
--with-tls=openssl \
--without-cyrus-sasl \
CC=/usr/local/bin/gcc \
CPP=/usr/local/bin/cpp \
LDFLAGS="-m64 -ldl" \
CFLAGS="-m64 -I/usr/local/include -I/usr/local/ssl/include/openssl"
make depend
make
make install
All commands finish.
But:
- make test fails in test50 (core dump)
- after installation each installed executable (including slapd) is larger than
8GB in size. None of them is executable on my machine - I get an immediate
"Killed" from Solaris, presumably because the virtual memory is less than 8GB.
The same executables in the build directory look just fine, slapd e.g. is ~2.8M
ldapsun# [openldap-2.4.11] ll /usr/local/bin/lda*
lrwxrwxrwx 1 root other 10 Sep 5 16:46 /usr/local/bin/ldapadd ->
ldapmodify*
-rwxr-xr-x 1 root other 8591909768 Sep 5 16:46
/usr/local/bin/ldapcompare*
-rwxr-xr-x 1 root other 8591911360 Sep 5 16:46
/usr/local/bin/ldapdelete*
-rwxr-xr-x 1 root other 8591912304 Sep 5 16:46
/usr/local/bin/ldapexop*
-rwxr-xr-x 1 root other 8591959528 Sep 5 16:46
/usr/local/bin/ldapmodify*
-rwxr-xr-x 1 root other 8591909816 Sep 5 16:46
/usr/local/bin/ldapmodrdn*
-rwxr-xr-x 1 root other 8591908712 Sep 5 16:46
/usr/local/bin/ldappasswd*
-rwxr-xr-x 1 root other 8591987184 Sep 5 16:46
/usr/local/bin/ldapsearch*
-rwxr-xr-x 1 root other 8591901960 Sep 5 16:46
/usr/local/bin/ldapwhoami*
ldapsun# [openldap-2.4.11] ls -l clients/tools/lda* | /usr/xpg4/bin/grep -E -v
'(\.o$|\.c$)'
-rwxr-xr-x 1 root other 512280 Sep 5 16:40 clients/tools/ldapcompare
-rwxr-xr-x 1 root other 513120 Sep 5 16:40 clients/tools/ldapdelete
-rwxr-xr-x 1 root other 513600 Sep 5 16:40 clients/tools/ldapexop
-rwxr-xr-x 1 root other 538960 Sep 5 16:40 clients/tools/ldapmodify
-rwxr-xr-x 1 root other 512424 Sep 5 16:40 clients/tools/ldapmodrdn
-rwxr-xr-x 1 root other 511568 Sep 5 16:40 clients/tools/ldappasswd
-rwxr-xr-x 1 root other 553352 Sep 5 16:40 clients/tools/ldapsearch
-rwxr-xr-x 1 root other 508240 Sep 5 16:40 clients/tools/ldapwhoami
ldapsun# [openldap-2.4.11] ll /usr/local/libexec/slapd
-rwxr-xr-x 1 root other 8596439592 Sep 5 16:46
/usr/local/libexec/slapd*
ldapsun# [openldap-2.4.11] ll servers/slapd/slapd
-rwxr-xr-x 1 root other 2896576 Sep 5 16:44 servers/slapd/slapd*
Let me know if you need more info on this