make all exits with error 1

Oliver Demetz - Hardware-XPress.de odemetz at hwxp.de
Tue Sep 9 20:17:10 EDT 2003


Hi!
I'm having weird problems compiling cyrus-imap-2.1.15 on my debian
machine.
SASL works quiet fine, SMTP AUTH with Postfix, too.
My configure-params were as follows:
# ./configure --prefix=/usr --with-cyrus-user=cyrus --with-cyrus-group=mail --with-auth=unix --with-sasl=/usr/local/lib/sasl2 --libdir=/usr/lib

But I get following negative lines in its output:
checking for makedepend... /root/src/cyrus-imapd-2.1.15/tools/not-mkdep
configure: warning: Makedepend is not installed on this system.  You should compile and install the version from the makedepend subdirectory.
checking for strerror in -lcposix... no
checking for strlcat... no
checking for strlcpy... no
checking for opendir in -ldir... no
checking for res_search... no
checking for dns_lookup... no
checking for bison... no
checking for byacc... no
checking for yywrap in -ll... no
checking for main in -lfl... no
checking for rxposix.h... no
checking for setproctitle... no
checking for setproctitle in -lutil... no
checking for sys/pstat.h... no
checking for sys/sysnews.h... no
checking for PS_STRINGS... no
checking for SCO... no
checking for RSAPublicEncrypt in -lrsaref... no
checking for BIO_accept in -lcrypto... no
checking for SSL_CTX_new in -lssl... no
checking for openssl... no
checking for ZInitialize in -lzephyr... no
checking for com_err.h... no
configure: warning: com_err is required; included version will be used.
checking for dlopen... no
checking for dlopen in -ldl... yes
checking for crypt... no
checking for MD5Init... no
checking for MD5Init in -lmd... no
checking for request_init in -lwrap... no
checking libwrap support... no
checking for sprint_objid in -lsnmp... no
checking UCD SNMP libraries... no

Then,
# make depend
# make all
[Snip]
Unrecognized argument in LIBS ignored: '-Wl,-rpath,/usr/local/lib/sasl2/lib'
Writing Makefile for Cyrus::IMAP
[Snip]
LD_RUN_PATH="/usr/local/lib" cc  -shared -L/usr/local/lib IMAP.o  -o blib/arch/auto/Cyrus/IMAP/IMAP.so ../../lib/libcyrus.a  -lsasl2 -lssl -lcrypto
/usr/bin/ld: cannot find -lcrypto
collect2: ld returned 1 exit status
make[2]: *** [blib/arch/auto/Cyrus/IMAP/IMAP.so] Error 1
make[2]: Leaving directory `/root/src/cyrus-imapd-2.1.15/perl/imap'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/root/src/cyrus-imapd-2.1.15/perl'
make: *** [all] Error 1

In the whole make-output, /usr/local/... is used, but I defined /usr/
as prefix!
Most of the not found libaries exist on my machine, but make looks
them up in the wrong directory!
What shall I do???

BIG THANKS FOR ALL YOUR ANSWERS IN ADVANCE!!!

Oliver Demetz





More information about the Info-cyrus mailing list