Hi there..
I"m new in Linux. Trying to install squirrelmail-imap_proxy-1.2.7 on Red Hat WS 4. Errors from ./configure as shown below:
[root@D04 squirrelmail-imap_proxy-1.2.7]# ./configure
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for connect... yes
checking for pthread_create in -lpthread... yes
checking for mmap... yes
checking for yp_get_default_domain in -lnsl... yes
checking for request_init in -lwrap... yes
checking for EVP_DigestInit in -lcrypto... no
configure: error: Can't compile without OpenSSL crypto library!!!
Followed the known issue file in the same directory with ./configure --with-ssl=/usr/local/ssl/lib but gives the same error.
I got this error in config.log file:
configure:2846: checking for mmap
configure:2903: gcc -o conftest -g -O2 conftest.c -lpthread >&5
configure:2909: $? = 0
configure:2912: test -z || test ! -s conftest.err
configure:2915: $? = 0
configure:2918: test -s conftest
configure:2921: $? = 0
configure:2933: result: yes
configure:3029: checking for yp_get_default_domain in -lnsl
configure:3059: gcc -o conftest -g -O2 conftest.c -lnsl -lpthread >&5
configure:3065: $? = 0
configure:3068: test -z || test ! -s conftest.err
configure:3071: $? = 0
configure:3074: test -s conftest
configure:3077: $? = 0
configure:3090: result: yes
configure:3109: checking for request_init in -lwrap
configure:3139: gcc -o conftest -g -O2 conftest.c -lwrap -lnsl -lpthread >&5
configure:3145: $? = 0
configure:3148: test -z || test ! -s conftest.err
configure:3151: $? = 0
configure:3154: test -s conftest
configure:3157: $? = 0
configure:3170: result: yes
configure:3192: checking for EVP_DigestInit in -lcrypto
configure:3222: gcc -o conftest -g -O2 conftest.c -lcrypto -lwrap -lnsl -lpthread >&5
/usr/bin/ld: cannot find -lcrypto
collect2: ld returned 1 exit status
configure:3228: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define HAVE_LIBPTHREAD 1
| #define HAVE_LIBNSL 1
| #define HAVE_LIBWRAP 1
| /* end confdefs.h. */
|
| /* Override any gcc2 internal prototype to avoid an error. */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
| char EVP_DigestInit ();
| int
| main ()
| {
| EVP_DigestInit ();
| ;
| return 0;
| }
configure:3253: result: no
configure:3263: error: Can't compile without OpenSSL crypto library!!!
Can someone guide me on how to solve this problem? Thanks in advance...