error compiling sasl 2.1.13
Mitrana Cristian
cmitrana at xnet.ro
Wed Jun 18 05:47:51 EDT 2003
Casey, Kevin wrote:
>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
>
>
Try adding "-ldl" to LDFLAGS and it should work.
mitu
-------------------------------------------------------
Xnet scaneaza automat toate mesajele impotriva virusilor folosind RAV AntiVirus.
Xnet automatically scans all messages for viruses using RAV AntiVirus.
Nota: RAV AntiVirus poate sa nu detecteze toti virusii noi sau toate variantele lor.
Va rugam sa luati in considerare ca exista un risc de fiecare data cand deschideti
fisiere atasate si ca MobiFon nu este responsabila pentru nici un prejudiciu cauzat
de virusi.
Disclaimer: RAV AntiVirus may not be able to detect all new viruses and variants.
Please be aware that there is a risk involved whenever opening e-mail attachments
to your computer and that MobiFon is not responsible for any damages caused by
viruses.
More information about the Info-cyrus
mailing list