linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Mário Gamito" <gamito@gmail.com>
To: linux-admin@vger.kernel.org
Subject: Error compiling courier-imap (problems with SSL/TLS)
Date: Fri, 09 Feb 2007 21:01:49 +0000	[thread overview]
Message-ID: <45CCE13D.9050805@gmail.com> (raw)

Hi,

Maybe this is not the proper place to put his question, but the 
courier-imap mailing list is comfortably numb.

So, i thought you people could give me an hand on this.

I'm getting several errors compiling courier-imap (they follow my 
signature).

They're SSL/TLS related.
I have openssl installed in /usr/local/ssl

Before running make, i'v executed:
$ export CPPFLAGS="-I/usr/local/ssl/include"
$ export LDFLAGS="-L/usr/local/ssl/lib"

Any help would be appreciated.

Warm Regards,
Mário Gamito
-- 
make[3]: Entering directory `/usr/local/src/courier-imap-4.1.2/tcpd'
Linking couriertls
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x38): In function 
`dlfcn_load                  ':
: undefined reference to `dlopen'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0xa0): In function 
`dlfcn_load                  ':
: undefined reference to `dlclose'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0xc9): In function 
`dlfcn_load                  ':
: undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x13e): In function 
`dlfcn_unl                 oad':
: undefined reference to `dlclose'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x1f5): In function 
`dlfcn_bin                 d_var':
: undefined reference to `dlsym'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x241): In function 
`dlfcn_bin                 d_var':
: undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x2d5): In function 
`dlfcn_bin                 d_func':
: undefined reference to `dlsym'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x321): In function 
`dlfcn_bin                 d_func':
: undefined reference to `dlerror'
./.libs/libcouriertls.a(libcouriertls.o)(.text+0x462): In function 
`rsa_callback                    ':
/usr/local/src/courier-imap-4.1.2/tcpd/libcouriertls.c:216: undefined 
reference                 to `RSA_generate_key'
./.libs/libcouriertls.a(libcouriertls.o)(.text+0x686): In function 
`process_rsac                    ertfile':
/usr/local/src/courier-imap-4.1.2/tcpd/libcouriertls.c:274: undefined 
reference                 to `SSL_CTX_use_certificate_chain_file'
./.libs/libcouriertls.a(libcouriertls.o)(.text+0x697):/usr/local/src/courier-ima
       p-4.1.2/tcpd/libcouriertls.c:280: undefined reference to 
`SSL_CTX_use_RSAPrivate                              Key_file'
./.libs/libcouriertls.a(libcouriertls.o)(.text+0x6f7): In function 
`process_dhce                    rtfile':
/usr/local/src/courier-imap-4.1.2/tcpd/libcouriertls.c:299: undefined 
reference                 to `SSL_CTX_use_certificate_chain_file'
./.libs/libcouriertls.a(libcouriertls.o)(.text+0x798):/usr/local/src/courier-ima
       p-4.1.2/tcpd/libcouriertls.c:328: undefined reference to 
`SSL_CTX_use_PrivateKey                              _file'
./.libs/libcouriertls.a(libcouriertls.o)(.text+0xa85): In function 
`tls_create':
/usr/local/src/courier-imap-4.1.2/tcpd/libcouriertls.c:405: undefined 
reference                 to `SSL_load_error_strings'
./.libs/libcouriertls.a(libcouriertls.o)(.text+0xa8a):/usr/local/src/courier-ima
       p-4.1.2/tcpd/libcouriertls.c:406: undefined reference to 
`SSL_library_init'
./.libs/libcouriertls.a(libcouriertls.o)(.text+0xaf4):/usr/local/src/courier-ima
       p-4.1.2/tcpd/libcouriertls.c:421: undefined reference to 
`TLSv1_method'
./.libs/libcouriertls.a(libcouriertls.o)(.text+0xb19):/usr/local/src/courier-ima
       p-4.1.2/tcpd/libcouriertls.c:419: undefined reference to 
`SSLv2_method'
./.libs/libcouriertls.a(libcouriertls.o)(.text+0xf62):/usr/local/src/courier-ima
       p-4.1.2/tcpd/libcouriertls.c:421: undefined reference to 
`SSLv23_method'
./.libs/libcouriertls.a(libcouriertls.o)(.text+0x106a): In function 
`cache_add':
/usr/local/src/courier-imap-4.1.2/tcpd/libcouriertls.c:604: undefined 
reference                 to `i2d_SSL_SESSION'
./.libs/libcouriertls.a(libcouriertls.o)(.text+0x10e1):/usr/local/src/courier-im
       ap-4.1.2/tcpd/libcouriertls.c:621: undefined reference to 
`i2d_SSL_SESSION'
./.libs/libcouriertls.a(libcouriertls.o)(.text+0x122d): In function 
`get_func':
/usr/local/src/courier-imap-4.1.2/tcpd/libcouriertls.c:694: undefined 
reference                 to `d2i_SSL_SESSION'
collect2: ld returned 1 exit status
make[3]: *** [couriertls] Error 1
make[3]: Leaving directory `/usr/local/src/courier-imap-4.1.2/tcpd'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/src/courier-imap-4.1.2/tcpd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/courier-imap-4.1.2'
make: *** [all] Error 2
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

             reply	other threads:[~2007-02-09 21:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-09 21:01 Mário Gamito [this message]
2007-02-09 22:31 ` Error compiling courier-imap (problems with SSL/TLS) Glynn Clements
2007-02-09 22:39   ` Mário Gamito
2007-02-10  0:11     ` Glynn Clements
2007-02-10  9:56     ` Benoît Rouits

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45CCE13D.9050805@gmail.com \
    --to=gamito@gmail.com \
    --cc=linux-admin@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).