I have found the following in the tcpd/config.log: configure: failed program was: | /* confdefs.h. */ | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define RETSIGTYPE void | #define HAVE_SETPGRP 1 | #define HAVE_SETPGID 1 | #define SETPGRP_VOID 1 | #define TCPDUSERFC1035 1 | #define HAVE_SPIPE_SOCKETPAIR 1 | /* end confdefs.h. */ | #include <stdio.h> | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # ifdef HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #ifdef HAVE_STRINGS_H | # include <strings.h> | #endif | #ifdef HAVE_INTTYPES_H | # include <inttypes.h> | #endif | #ifdef HAVE_STDINT_H | # include <stdint.h> | #endif | #ifdef HAVE_UNISTD_H | # include <unistd.h> | #endif | #include <openssl/ssl.h> configure:21613: result: no configure:21617: checking openssl/ssl.h presence configure:21632: gcc -E conftest.c conftest.c:31:25: openssl/ssl.h: No such file or directory configure:21638: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define TIME_WITH_SYS_TIME 1 | #define RETSIGTYPE void | #define HAVE_SETPGRP 1 | #define HAVE_SETPGID 1 | #define SETPGRP_VOID 1 | #define TCPDUSERFC1035 1 | #define HAVE_SPIPE_SOCKETPAIR 1 | /* end confdefs.h. */ | #include <openssl/ssl.h> configure:21652: result: no configure:21685: checking for openssl/ssl.h configure:21692: result: no configure:21703: checking for SSL_load_error_strings in -lssl configure:21738: gcc -o conftest -I./.. -I.. -Wall -g -O2 conftest.c -lssl -lcrypto -lsocket >&5 ld: fatal: library -lssl: not found ld: fatal: library -lcrypto: not found ld: fatal: File processing errors. No output written to conftest collect2: ld returned 1 exit status
what's odd is that I was able to find ssl.h in /usr/local/ssl/include/openssl/ssl.h in addition, earlier in the config it also mentioned that it couldn't find gnutls, but it is installed on this system as well (/usr/local/bin) Sam Varshavchik wrote: > > ggl writes: > >> >> Hi Sam, >> >> Thanks for your quick response. I added -R/usr/local/ss/lib to LDFLAGS, >> but >> I received the same error. I then went ahead and removed all references >> to >> LD_LIBRARY_PATH and LDFLAGS as well, and I still seem get the same error. > > Review the contents of tcpd/config.log. Locate the exact error messages > that > prevent TLS support from being enabled by the configure script. > >> >> >> >> Sam Varshavchik wrote: >>> >>> ggl writes: >>> >>>> >>>> I currently have openssl-0.9.8j installed and it's working properly as >>>> I've >>>> been able to get apache with ssl to work and create certificates as >>>> well. >>>> I've also tried using 0.9.8i but I received the same results. I do >>>> not, >>>> however, know if all my libraries are set correctly as it does appear >>>> that >>>> something is not referenced correctly. >>>> >>>> here are some variables I have set: >>>> >>>> LD_LIBRARY_PATH=/usr/local/lib::/usr/lib:/usr/sfw/lib:/usr/include:/usr/local/BerkeleyDB.4.7/include/:/usr/local/BerkeleyDB.4.7/lib:/usr/local/ssl/lib:/usr/include >>>> >>>> LDFLAGS='-L/usr/local/BerkeleyDB.4.7/include/ >>>> -L/usr/local/BerkeleyDB.4.7/lib -R/usr/local/lib' >>> >>> If your OpenSSL libraries are in /usr/local/ssl/lib, judging by your >>> LD_LIBRARY_PATH, you'll probably need to add -R/usr/local/ss/lib to >>> LDFLAGS >>> is well. You'll need to rerun configure, and do everything from scratch. >>> >>> Additionally, using LD_LIBRARY_PATH is considered bad practice. See >>> http://xahlee.org/UnixResource_dir/_/ldpath.html >>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> This SF.net email is sponsored by: >>> SourcForge Community >>> SourceForge wants to tell your story. >>> http://p.sf.net/sfu/sf-spreadtheword >>> _______________________________________________ >>> Courier-imap mailing list >>> Courier-imap@lists.sourceforge.net >>> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap >>> >>> >> >> -- >> View this message in context: >> http://www.nabble.com/couriertls-undefined-symbols-tp21519163p21617924.html >> Sent from the courier-imap mailing list archive at Nabble.com. >> >> >> ------------------------------------------------------------------------------ >> This SF.net email is sponsored by: >> SourcForge Community >> SourceForge wants to tell your story. >> http://p.sf.net/sfu/sf-spreadtheword >> _______________________________________________ >> Courier-imap mailing list >> Courier-imap@lists.sourceforge.net >> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > _______________________________________________ > Courier-imap mailing list > Courier-imap@lists.sourceforge.net > Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap > > -- View this message in context: http://www.nabble.com/couriertls-undefined-symbols-tp21519163p21624354.html Sent from the courier-imap mailing list archive at Nabble.com. ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Courier-imap mailing list Courier-imap@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap