I am attempting to compile courier imap on solaris 10 and am successful in
doing so, except couriertls did not compile or install.  If I go into the
tcpd directory and type in:

# make couriertls

I get the following:

/bin/bash ./libtool --tag=CC   --mode=link gcc  -I./.. -I.. -Wall -g -O2
-static  -o couriertls starttls.o argparse.o libcouriertls.la libspipe.la
../rfc1035/librfc1035.a ../md5/libmd5.la ../random128/librandom128.la
../numlib/libnumlib.la ../liblock/liblock.la ../soxwrap/libsoxwrap.a
-Wl,-lsocket -Wl,-lnsl -lsocket
gcc -I./.. -I.. -Wall -g -O2 -o couriertls starttls.o argparse.o
-Wl,-lsocket -Wl,-lnsl  ./.libs/libcouriertls.a -lssl -lcrypto
./.libs/libspipe.a ../rfc1035/librfc1035.a ../md5/.libs/libmd5.a
../random128/.libs/librandom128.a ../numlib/.libs/libnumlib.a
../liblock/.libs/liblock.a ../soxwrap/libsoxwrap.a -lsocket
Undefined                       first referenced
 symbol                             in file
tls_dump_connection_info            starttls.o
tls_get_encryption_desc             starttls.o
tls_create                          starttls.o
tls_get_default_info                starttls.o
tls_connecting                      starttls.o
tls_connect                         starttls.o
tls_destroy                         starttls.o
tls_disconnect                      starttls.o
tls_certificate_verified            starttls.o
tls_transfer                        starttls.o
ld: fatal: Symbol referencing errors. No output written to couriertls
collect2: ld returned 1 exit status
make: *** [couriertls] Error 1

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'

Is there anything else I need to set or identify before the build?  This box
is an AMD system.

Thanks in advance!

-- 
View this message in context: 
http://www.nabble.com/couriertls-undefined-symbols-tp21519163p21519163.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

Reply via email to