[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Strange problems when trying to compile v2.2.4
- To: openldap-software@OpenLDAP.org
- Subject: Strange problems when trying to compile v2.2.4
- From: Harry Rüter <harry_rueter@gmx.de>
- Date: Wed, 14 Jan 2004 20:08:34 +0100
- User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.5) Gecko/20031007
Hi everybody,
i'm tryin' to install the new version 2.2.4 for
testing purposes. I'm installing openldap versions
since 2.0.5 and never had such problems as now ..
My configuration :
BerkeleyDB 4.2.52 installed from source with the following script :
--snipp--
#!/bin/sh
CPPFLAGS="-I/usr/local/ssl/include"
LDFLAGS="-L/usr/local/ssl/lib -lpthread"
cd build_unix
make clean
../dist/configure \
--prefix=/usr/local/bdb-4-2-52 \
--enable-compat185 \
--enable-cxx \
--enable-java \
--enable-rpc \
--enable-posixmutexes \
&& make && make install
--snipp--
Configured , compiled and installed without problems.
Cyrus-Sasl 2.1.17 installed from source with the following script :
--snipp--
#!/bin/sh
export CPPFLAGS="-I/usr/local/ssl/include \
-I/usr/local/bdb-4-2/include -I/usr/local/heimdal/include"
export LDFLAGS="-L/usr/local/ssl/lib \
-L/usr/local/bdb-4-2/lib -L/usr/local/heimdal/lib -lpthread"
export LD_LIBRARY_PATH=/usr/local/bdb-4-2/lib:$LD_LIBRARY_PATH
make distclean
rm config.cache
./configure --prefix=/usr/local/sasl-2.1.17 \
--with-saslauthd=no \
--with-openssl=/usr/local/ssl \
--with-dblib=berkeley \
--with-bdb-libdir=/usr/local/bdb-4-2/lib \
--with-bdb-incdir=/usr/local/bdb-4-2/include \
--with-pam=/lib/security \
--enable-sample \
--enable-shared \
--enable-static \
--enable-otp \
--enable-cram \
--enable-digest \
--enable-login \
--enable-anon \
--enable-gssapi=/usr/local/heimdal \
--disable-krb4 \
--enable-plain \
--enable-java \
--enable-checkapop \
--enable-srp \
--enable-srp-setpass \
--enable-ntlm \
--enable-sql \
--with-ipctype=unix \
--with-gss_impl=heimdal \
--with-mysql=/usr/local/mysql \
--with-ldap=/usr/local/ldap && make && make install
--snipp--
Configured , compiled and installed without problems.
Heimdal 0.6 installed from source with the following script :
--snipp--
#!/bin/sh
CPPFLAGS="-I/usr/local/ssl/include -I/usr/local/bdb-4-2/include"
LDFLAGS="-L/usr/local/ssl/lib -L/usr/local/bdb-4-2/lib"
make clean
./configure \
--prefix=/usr/local/heimdal-0.6 \
--enable-shared \
--enable-static \
--enable-netinfo \
--with-openldap=/usr/local/ldap \
--with-openssl=/usr/local/ssl && make && make install
--snipp--
Configured , compiled and installed without problems.
Now trying to install OpenLDAP 2.2.4 with the following script :
--snipp--
#!/bin/sh
CPPFLAGS="-I/usr/local/bdb-4-2/include \
-I/usr/local/heimdal/include -I/usr/local/sasl2/include \
-I/usr/local/ssl/include
LDFLAGS="-L/usr/local/bdb-4-2/lib \
-L/usr/local/heimdal/lib -L/usr/local/sasl2/lib/sasl2 \
-L/usr/local/ssl/lib -lpthread
export CPPFLAGS LDFLAGS
export LD_LIBRARY_PATH=/usr/local/bdb-4-2/lib:$LD_LIBRARY_PATH
make clean
rm config.cache
./configure \
--prefix=/usr/local/ldap-2-2-4 \
--mandir=/usr/local/ldap-2-2-4/man \
--enable-dynamic \
--enable-proctitle \
--enable-ipv6 \
--enable-local \
--with-cyrus-sasl \
--with-threads \
--with-tls \
--with-yielding-select \
--enable-slapd \
--enable-aci \
--enable-cleartext \
--enable-crypt \
--enable-lmpasswd \
--enable-spasswd \
--enable-modules \
--enable-rewrite \
--enable-rlookups \
--enable-slapi \
--enable-wrappers \
--enable-bdb \
--with-bdb-module=static \
--enable-dnssrv \
--with-dnssrv-module=static \
--enable-hdb \
--snipp--
Configures well, but doesn't compile,
here's what's going wrong :
--snipp--
...
creating libldap.la
(cd .libs && rm -f libldap.la && ln -s ../libldap.la libldap.la)
cc -g -O2 -I../../include -I../../include
-I/usr/local/bdb-4-2/include -I/usr/local/heimdal/include
-I/usr/local/sasl2/include -I/usr/local/sasl2/include
-I/usr/local/ssl/include -I/usr/local/bdb-4-2/include
-I/usr/local/heimdal/include -I/usr/local/sasl2/include
-I/usr/local/sasl2/include -I/usr/local/ssl/include -c -o apitest.o
apitest.c
/bin/sh /work/make/openldap-2.2.4/libtool --mode=link cc -static -g -O2
-L/usr/local/bdb-4-2/lib -L/usr/local/heimdal/lib
-L/usr/local/sasl2/lib/sasl2 -L/usr/local/sasl2/lib -L/usr/local/ssl/lib
-lpthread -o apitest apitest.o libldap.la
../../libraries/liblber/liblber.la ../../libraries/liblutil/liblutil.a
-lsasl2 -lssl -lcrypto -lresolv -ldl
cc -g -O2 -o apitest apitest.o -L/usr/local/bdb-4-2/lib
-L/usr/local/heimdal/lib -L/usr/local/sasl2/lib/sasl2
-L/usr/local/sasl2/lib -L/usr/local/ssl/lib ./.libs/libldap.a
/work/make/openldap-2.2.4/libraries/liblber/.libs/liblber.a
-L/lib/security/lib ../../libraries/liblber/.libs/liblber.a
../../libraries/liblutil/liblutil.a
/usr/local/sasl-2.1.17/lib/libsasl2.a -lpthread -lssl -lcrypto -lresolv -ldl
/usr/local/sasl-2.1.17/lib/libsasl2.a(db_berkeley.o)(.text+0x78): In
function `berkeleydb_open':
/work/make/cyrus-sasl-2.1.17/sasldb/db_berkeley.c:85: undefined
reference to `db_create'
/usr/local/sasl-2.1.17/lib/libsasl2.a(db_berkeley.o)(.text+0xd9):/work/make/cyrus-sasl-2.1.17/sasldb/db_berkeley.c:102:
undefined reference to `db_strerror'
/usr/local/sasl-2.1.17/lib/libsasl2.a(db_berkeley.o)(.text+0x153): In
function `berkeleydb_close':
/work/make/cyrus-sasl-2.1.17/sasldb/db_berkeley.c:122: undefined
reference to `db_strerror'
/usr/local/sasl-2.1.17/lib/libsasl2.a(db_berkeley.o)(.text+0x2e5): In
function `_sasldb_getdata':
/work/make/cyrus-sasl-2.1.17/sasldb/db_berkeley.c:198: undefined
reference to `db_strerror'
/usr/local/sasl-2.1.17/lib/libsasl2.a(db_berkeley.o)(.text+0x51c): In
function `_sasldb_putdata':
/work/make/cyrus-sasl-2.1.17/sasldb/db_berkeley.c:284: undefined
reference to `db_strerror'
/usr/local/sasl-2.1.17/lib/libsasl2.a(db_berkeley.o)(.text+0x57f):/work/make/cyrus-sasl-2.1.17/sasldb/db_berkeley.c:296:
undefined reference to `db_strerror'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0x9a): In function
`sasl_gss_seterror_':
/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:187: undefined reference
to `gss_display_status'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0x122):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:213:
undefined reference to `gss_release_buffer'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0x186):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:232:
undefined reference to `gss_display_status'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0x1fd):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:258:
undefined reference to `gss_release_buffer'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0x35a): In
function `sasl_gss_encode':
/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:315: undefined reference
to `gss_wrap'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0x38a):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:327:
undefined reference to `gss_release_buffer'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0x3ce):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:338:
undefined reference to `gss_release_buffer'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0x421):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:354:
undefined reference to `gss_release_buffer'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0x506): In
function `gssapi_decode_packet':
/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:396: undefined reference
to `gss_unwrap'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0x536):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:407:
undefined reference to `gss_release_buffer'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0x584):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:420:
undefined reference to `gss_release_buffer'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0x5b7):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:426:
undefined reference to `gss_release_buffer'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0x686): In
function `sasl_gss_free_context_contents':
/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:468: undefined reference
to `gss_delete_sec_context'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0x6a6):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:473:
undefined reference to `gss_release_name'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0x6c6):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:478:
undefined reference to `gss_release_name'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0x6e6):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:483:
undefined reference to `gss_release_cred'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0xa2f): In
function `gssapi_server_mech_step':
/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:599: undefined reference
to `GSS_C_NT_HOSTBASED_SERVICE'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0xa3a):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:599:
undefined reference to `gss_import_name'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0xaa8):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:614:
undefined reference to `gss_release_cred'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0xacd):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:618:
undefined reference to `gss_acquire_cred'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0xb40):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:639:
undefined reference to `gss_accept_sec_context'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0xb95):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:656:
undefined reference to `gss_release_buffer'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0xc2a):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:676:
undefined reference to `gss_release_buffer'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0xc7d):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:702:
undefined reference to `gss_display_name'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0xcb6):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:712:
undefined reference to `gss_release_buffer'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0xccf):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:714:
undefined reference to `gss_release_name'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0xdf7):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:740:
undefined reference to `GSS_C_NT_USER_NAME'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0xe05):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:740:
undefined reference to `gss_import_name'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0xe3a):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:754:
undefined reference to `gss_release_buffer'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0xe53):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:756:
undefined reference to `gss_release_name'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0xe95):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:762:
undefined reference to `gss_compare_name'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0xeca):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:770:
undefined reference to `gss_release_buffer'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0xee3):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:772:
undefined reference to `gss_release_name'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0xf29):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:778:
undefined reference to `gss_release_name'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0xfb5):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:800:
undefined reference to `gss_release_buffer'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0x1106):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:850:
undefined reference to `gss_wrap'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0x113f):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:861:
undefined reference to `gss_release_buffer'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0x11af):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:874:
undefined reference to `gss_release_buffer'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0x11f6):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:881:
undefined reference to `gss_release_buffer'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0x1237):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:896:
undefined reference to `gss_unwrap'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0x133e):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:932:
undefined reference to `gss_release_buffer'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0x140a):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:975:
undefined reference to `gss_release_buffer'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0x1468):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:987:
undefined reference to `gss_wrap_size_limit'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0x1486):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:997:
undefined reference to `gss_release_buffer'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0x162d): In
function `gssapiv2_server_plug_init':
/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:1088: undefined reference
to `gsskrb5_register_acceptor_identity'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0x192a): In
function `gssapi_client_mech_step':
/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:1202: undefined reference
to `GSS_C_NT_HOSTBASED_SERVICE'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0x1935):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:1202:
undefined reference to `gss_import_name'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0x19ca):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:1229:
undefined reference to `gss_delete_sec_context'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0x1a27):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:1247:
undefined reference to `gss_init_sec_context'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0x1a60):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:1264:
undefined reference to `gss_release_buffer'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0x1af8):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:1283:
undefined reference to `gss_release_buffer'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0x1b29):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:1287:
undefined reference to `gss_inquire_context'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0x1b79):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:1305:
undefined reference to `gss_display_name'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0x1b9b):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:1312:
undefined reference to `gss_release_buffer'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0x1c4d):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:1332:
undefined reference to `gss_release_buffer'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0x1ca9):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:1351:
undefined reference to `gss_unwrap'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0x1cf5):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:1362:
undefined reference to `gss_release_buffer'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0x1e26):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:1425:
undefined reference to `gss_release_buffer'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0x1f59):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:1464:
undefined reference to `gss_wrap'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0x1fb4):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:1478:
undefined reference to `gss_release_buffer'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0x2028):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:1490:
undefined reference to `gss_release_buffer'
/usr/local/sasl-2.1.17/lib/libsasl2.a(gssapi.o)(.text+0x2069):/work/make/cyrus-sasl-2.1.17/plugins/gssapi.c:1497:
undefined reference to `gss_release_buffer'
collect2: ld returned 1 exit status
make[2]: *** [apitest] Error 1
make[2]: Leaving directory `/work/make/openldap-2.2.4/libraries/libldap'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/work/make/openldap-2.2.4/libraries'
make: *** [all-common] Error 1
[PTS2] root@486dx66:/work/make/openldap-2.2.4 #
--snipp--
So, i tried every hint i could find on the lists i'm in
(Cyrus,Openldap),but i don't know what's the reason for those errors ...
any hints from the list ?
greets and thanks for help
Harry