error compiling sasl 2.1.13
    Casey, Kevin 
    krc at iNetwebz.com
       
    Wed Jun 18 02:16:18 EDT 2003
    
    
  
i'm having trouble compiling sasl right around where it creates saslauthd.
i've troved aruond google and deja, but no luck.  i've found other people
with the problem, but nobody with an answer.
i started with:
# ./configure --sysconfdir=/etc \
--with-dblib=berkeley \
--with-bdb-incdir=/usr/local/bdb/include \
--with-bdb-libdir=/usr/local/bdb/lib \
--with-openssl=/usr/local/ssl \
--enable-login \
--enable-anon \
--disable-krb4 \
--with-saslauthd=/var/run/saslauthd \
--with-pwcheck_method=PAM \
--with-pam \
followed by:
# make
and after several hundred lines of compilation, it comes down to:
Making all in saslauthd
make[2]: Entering directory `/usr/local/src/cyrus-sasl-2.1.13/saslauthd'
gcc  -g -O2 -L/usr/local/ssl/lib -o saslauthd  mechanisms.o auth_dce.o
auth_getpwent.o auth_krb5.o auth_krb4.o auth_pam.o auth_rimap.o
auth_shadow.o auth_sia.o auth_sasldb.o lak.o auth_ldap.o cache.o utils.o
ipc_unix.o ipc_doors.o saslauthd-main.o md5.o -lcrypt
-lresolv   -lpam  -lresolv 
/usr/lib/libpam.a(pam_handlers.o): In function `_pam_add_handler':
pam_handlers.o(.text+0xb3e): undefined reference to `dlopen'
pam_handlers.o(.text+0xb65): undefined reference to `dlerror'
pam_handlers.o(.text+0xd1c): undefined reference to `dlsym'
pam_handlers.o(.text+0xd55): undefined reference to `dlsym'
/usr/lib/libpam.a(pam_handlers.o): In function `_pam_free_handlers':
pam_handlers.o(.text+0xfb4): undefined reference to `dlclose'
collect2: ld returned 1 exit status
make[2]: *** [saslauthd] Error 1
make[2]: Leaving directory `/usr/local/src/cyrus-sasl-2.1.13/saslauthd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/cyrus-sasl-2.1.13'
make: *** [all-recursive-am] Error 2
any suggestions would be appreciatd.
thanks in advance,
kevin
    
    
More information about the Info-cyrus
mailing list