[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[tpop3d-discuss]Error compiling with TLS on Solaris
From: |
Martin Schmitt |
Subject: |
[tpop3d-discuss]Error compiling with TLS on Solaris |
Date: |
Sun, 15 Feb 2004 08:52:13 +0100 |
User-agent: |
Mutt/1.4.1i |
Hi everyone!
I'm trying to compile tpop3d + tls (OpenSSL 0.9.7c) on Solaris 8 using GCC
2.95.3:
./configure --prefix=/opt/tpop3d-1.5.3 \
--sysconfdir=/etc \
--with-mailspool-directory=/var/mail \
--disable-auth-pam \
--enable-auth-other \
--enable-auth-perl \
--disable-cclient-locking \
--disable-fcntl-locking \
--disable-snide-comments \
--enable-tls \
--with-openssl-root=/usr/local/ssl
make
.... everything looks fairly okay, until...
gcc -Wall -g -O2 -DCONFIG_DIR='"/etc"' -lm -L/usr/local/ssl/lib -o tpop3d
auth_mysql.o auth_pgsql.o auth_ldap.o auth_other.o auth_perl.o auth_pam.o
auth_passwd.o auth_flatfile.o authcache.o authswitch.o buffer.o cfgdirectives.o
config.o connection.o ioabs_tcp.o ioabs_tls.o listener.o locks.o logging.o
mailbox.o maildir.o mailspool.o main.o md5c.o netloop.o password.o pidfile.o
pop3.o signals.o stringmap.o strtok_r.o substvars.o tls.o tokenise.o util.o
vector.o -lrt -lssl -lcrypt -L/usr/local/lib
/usr/local/lib/perl5/5.6.1/sun4-solaris/auto/DynaLoader/DynaLoader.a
-L/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE -lperl -lsocket -lnsl -ldl -lm
-lc
Undefined first referenced
symbol in file
ERR_reason_error_string ioabs_tls.o (symbol belongs to implicit
dependency /usr/local/ssl/lib/libcrypto.so.0.9.7)
ERR_get_error ioabs_tls.o (symbol belongs to implicit
dependency /usr/local/ssl/lib/libcrypto.so.0.9.7)
ld: fatal: Symbol referencing errors. No output written to tpop3d
collect2: ld returned 1 exit status
make[2]: *** [tpop3d] Error 1
make[2]: Leaving directory `/usr/local/src/tpop3d-1.5.3'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/tpop3d-1.5.3'
make: *** [all-recursive-am] Error 2
Any ideas what might be going wrong here? The compile without TLS works
without any hiccups, and I've been running tpop3d for about two years
already. I just wanted to replace the stunnel solution I've been using up
to now with tpop3d's integrated TLS so the Perl authenticator will know the
real client IP address instead of just 127.0.0.1.
Thanks in advance,
-martin
--
+-------------------------+------------------------+
| Martin Schmitt | Schmitt Systemberatung |
| http://www.scsy.de/~mas | http://www.scsy.de |
+-------------------------+------------------------+
- [tpop3d-discuss]Error compiling with TLS on Solaris,
Martin Schmitt <=