problems configuring inn 2.4.2

James Craig jmc at cs.rit.edu
Thu Aug 11 15:55:26 UTC 2005



I am hoping to compile and install inn 2.4.2 on a Sun v40z running Solaris 10.
I have installed openssl, but the configure can not seem to find it.

./configure --prefix=/var/spool/news --with-perl --with-openssl=/opt/openssl
creating cache ./config.cache
checking for gcc... no
checking for cc... cc
checking whether the C compiler (cc  ) works... yes
checking whether the C compiler (cc  ) is a cross-compiler... no
checking whether we are using GNU C... no
checking whether cc accepts -g... yes
checking how to run the C preprocessor... cc -E
checking for AIX... no
checking for POSIXized ISC... no
checking for object suffix... o
checking if cc supports -c -o file.o... yes
checking host system type... i386-pc-solaris2.10
checking if BerkeleyDB is desired... no
checking if OpenSSL is desired... yes
checking for OpenSSL location... /opt/openssl
checking for RSAPublicEncrypt in -lrsaref... no
checking for BIO_new in -lcrypto... yes
checking for DSO_load in -ldl... yes
checking for SSL_library_init in -lssl... no
configure: error: Can not find OpenSSL


the end of the config.log file has this:

tail -30 config.log
/* 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 RSAPublicEncrypt();

int main() {
RSAPublicEncrypt()
; return 0; }
configure:5993: checking for BIO_new in -lcrypto
configure:6012: cc -o conftest -g   conftest.c -lcrypto   -L/opt/openssl/lib 1>&5
configure:6028: checking for DSO_load in -ldl
configure:6047: cc -o conftest -g   conftest.c -ldl -lcrypto -ldl   -L/opt/openssl/lib 1>&5
configure:6074: checking for SSL_library_init in -lssl
configure:6093: cc -o conftest -g   conftest.c -lssl -lcrypto -ldl   -L/opt/openssl/lib 1>&5
Undefined                       first referenced
 symbol                             in file
socket                              /opt/openssl/lib/libcrypto.a(rand_egd.o)
connect                             /opt/openssl/lib/libcrypto.a(rand_egd.o)
ld: fatal: Symbol referencing errors. No output written to conftest
configure: failed program was:
#line 6082 "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 SSL_library_init();

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



I have seen in the archives other people having similar issues, but I can't seem
to find where they solved their problems ...

jim craig



More information about the inn-workers mailing list