[Date Prev][Date Next] [Chronological] [Thread] [Top]

config failing on AIX 4.3.3



Please help a ldap newbie...configure openLDAP.

Overall goal:	enable Apache's mod_auth_ldap on an AIX 4.3.3 RS6000 
                  to authenticate against Microsoft's Active Directory

I have installed the following products (with their configure command
listed) 
which I believe to be prerequisites to installing and configuring openLDAP:

	openssl 	0.9.6g
			./config threads no-shared no-dso no-asm no-rc5
no-idea
			installs into: /usr/local/ssl
	BerkeleyDB 	4.1.24
			cd /dnload/bdb/db-4.1.24/build_unix
			CC=gcc ../dist/configure
			installs into /usr/local/Berkely.4.1
                          which I've symlinked to /usr/local/Berkely_curr
	cyrus-sasl	2.1.9
			export ac_cv_func_getaddrinfo=no
			export ac_cv_func_getnameinfo=no
			./configure --with-openssl=/usr/local/ssl  \
            		--enable-static                \
            		--disable-shared               \
            		--without-saslauthd
			installs includes: /usr/local/include/sasl
				   libs:     /usr/local/lib/sasl2

Next I've been trying numerous "configure" options, and never been able to
get "configure" to complete.

Here's the latest "configure" on openLDAP:

	          CC=gcc \
	          CPPFLAGS="-D_THREAD_SAFE -I/usr/local/include \
	          -I/usr/local/ssl/include \
	          -I/usr/local/BerkeleyDB_curr/include" \
	          LDFLAGS="-L/usr/local/ssl/lib     \
	         -L/usr/local/lib \
	         -L/usr/local/BerkeleyDB_curr/lib \
	         -mthreads " \
	         ./configure --with-cyrus-sasl  \

The last couple of errors in my config.log follow
(BTW: it looks like the EVP_* functions causing the link failures below
are located in libcrypto.a at /usr/local/ssl/lib/libcrypto.a):

	configure:19556: checking for sasl_client_init in -lsasl2
	configure:19575: gcc -o conftest -g -O2 -D_THREAD_SAFE \
      -I/usr/local/include \
      -I/usr/local/ssl/include \
      -I/usr/local/BerkeleyDB_curr/include \
      -L/usr/local/ssl/lib             \
      -L/usr/local/lib         	\
      -L/usr/local/BerkeleyDB_curr/lib -mthreads  conftest.c -lsasl2   1>&5
	ld: 0711-317 ERROR: Undefined symbol: .EVP_DigestInit
	ld: 0711-317 ERROR: Undefined symbol: .EVP_DigestUpdate
	ld: 0711-317 ERROR: Undefined symbol: .EVP_DigestFinal
	ld: 0711-317 ERROR: Undefined symbol: .EVP_get_digestbyname
	ld: 0711-317 ERROR: Undefined symbol: .EVP_cleanup
	ld: 0711-317 ERROR: Undefined symbol: .OpenSSL_add_all_digests
	ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
	collect2: ld returned 8 exit status
	configure: failed program was:
	#line 19564 "configure"
	#include "confdefs.h"
	/* Override any gcc2 internal prototype to avoid an error.  */
	/* We use char because int might match the return type of a gcc2
	    builtin and then its argument prototype would still apply.  */
	char sasl_client_init();

	int main() {
	sasl_client_init()
	; return 0; }
	configure:19594: checking for sasl_client_init in -lsasl
	configure:19613: gcc -o conftest -g -O2 -D_THREAD_SAFE -I/usr/
local/include -I/usr/local/ssl/include -I/usr/local/BerkeleyDB
	_curr/include -L/usr/local/ssl/lib             -L/usr/local/lib
-	L/usr/local/BerkeleyDB_curr/lib -mthreads  conftes
	t.c -lsasl   1>&5
	collect2: Library libsasl not found
	configure: failed program was:
	#line 19602 "configure"
	#include "confdefs.h"
	/* Override any gcc2 internal prototype to avoid an error.  */
	/* We use char because int might match the return type of a gcc2
	    builtin and then its argument prototype would still apply.  */
	char sasl_client_init();

	int main() {
	sasl_client_init()
	; return 0; }

Am I (at least) headed in the right direction???

Any help, tips, pointers, or commiseration would be appreciated.

-tony