Hi Michael,

i had a smilar problem under SuSE 7.1. It was nessesary to change the
ssl path manual in the Makefile on my server. Please look where is the
missing lib and change -L/usr/local/ssl/lib in the right path.

Carsten

Michael Weber schrieb:
> 
> I have been trying to compile the IMAP Server to no avail.  I am hoping
> that someone can help me.  Thank you in advance for your help.
> 
> I am running RedHat 7 and have installed openssl, and I have Berkeley DB
> 3.2 installed properly, because it is interacting with my LDAP Server.
> I have not modified any of the configuration files for the install.  I
> run these commands to compile the server:
> 
> export LDFLAGS="-L/usr/local/BerkeleyDB.3.2/lib -L/usr/local/ssl/lib
> -lssl /usr/local/ssl/lib/libcrypto.a -lcrypt -L/usr/local/ssl/lib -lssl
> /usr/local/ssl/lib/libcrypto.a"
> export CPPFLAGS="-I/usr/local/BerkeleyDB.3.2/include
> -I/usr/local/ssl/include"
> ./configure
> make depend
> make all CFLAGS=-O
> 
> When I get to "make all CFLAGS=-O", this is the error that I receive:
> 
> IMAP.xs: In function `XS_Cyrus__IMAP__send':
> IMAP.xs:495: warning: passing arg 2 of `imclient_send' from incompatible
> pointer
>  type
> Running Mkbootstrap for Cyrus::IMAP ()
> chmod 644 IMAP.bs
> LD_RUN_PATH="/home/mweber/Hold/Linux/cyrus-imapd-2.0.15/perl/imap/../../
> lib:/usr
> /local/lib:/usr/lib" gcc -o blib/arch/auto/Cyrus/IMAP/IMAP.so  -shared
> -L/usr/lo
> cal/lib IMAP.o
> -L/home/mweber/Hold/Linux/cyrus-imapd-2.0.15/perl/imap/../../l
> ib -lcyrus -lsasl -lssl -lcrypto
> /usr/bin/ld: cannot open -lssl: No such file or directory
> collect2: ld returned 1 exit status
> make[2]: *** [blib/arch/auto/Cyrus/IMAP/IMAP.so] Error 1
> make[2]: Leaving directory
> `/home/mweber/Hold/Linux/cyrus-imapd-2.0.15/perl/imap
> '
> make[1]: *** [all] Error 1
> make[1]: Leaving directory
> `/home/mweber/Hold/Linux/cyrus-imapd-2.0.15/perl'
> make: *** [all] Error 1
> 
> Any help in comiling this is greatly appreciated.  Thanks again for any
> help.
> 
> Michael

Reply via email to