Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  6 Oct 2004 10:17:04 -0400 (EDT)
From:      Andrew Heybey <ath@niksun.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/72384: sylpheed-claws 0.9.12b port does not compile on 4.x
Message-ID:  <20041006141704.3952F16503@stiegl.mj.niksun.com>
Resent-Message-ID: <200410061420.i96EK41I061310@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         72384
>Category:       ports
>Synopsis:       sylpheed-claws 0.9.12b port does not compile on 4.x
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 06 14:20:04 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Heybey
>Release:        FreeBSD 4.9-RELEASE-p5 i386
>Organization:
NIKSUN, Inc.
>Environment:
System: FreeBSD stiegl.mj.niksun.com 4.9-RELEASE-p5 FreeBSD 4.9-RELEASE-p5 #0: Tue Apr 20 22:35:25 EDT 2004 ath@stiegl.mj.niksun.com:/scratch/obj/x/src/sys/STIEGL i386


>Description:

The sylpheed-claws 0.9.12b port does not compile on FreeBSD 4.9 because of
linking problems:

/usr/lib/libssl.so: undefined reference to `BIO_find_type'
/usr/lib/libssl.so: undefined reference to `EVP_enc_null'
/usr/lib/libssl.so: undefined reference to `EVP_CIPHER_CTX_init'
/usr/lib/libssl.so: undefined reference to `X509_NAME_dup'
/usr/lib/libssl.so: undefined reference to `COMP_compress_block'
/usr/lib/libssl.so: undefined reference to `EVP_rc2_cbc'
/usr/lib/libssl.so: undefined reference to `sk_new_null'
/usr/lib/libssl.so: undefined reference to `X509_STORE_get_by_subject'
/usr/lib/libssl.so: undefined reference to `lh_free'
/usr/lib/libssl.so: undefined reference to `EVP_VerifyFinal'
/usr/lib/libssl.so: undefined reference to `COMP_CTX_new'
/usr/lib/libssl.so: undefined reference to `sk_dup'
/usr/lib/libssl.so: undefined reference to `X509_STORE_CTX_set_ex_data'
/usr/lib/libssl.so: undefined reference to `CRYPTO_get_ex_data'

(and many more).

>How-To-Repeat:

cd /usr/ports/mail/sylpheed-claws
make

>Fix:

Index: files/patch-configure
===================================================================
RCS file: /usr/local/repos/fbsdcvs/ports/mail/sylpheed-claws/files/patch-configure,v
retrieving revision 1.16
diff -u -u -r1.16 patch-configure
--- files/patch-configure       3 Oct 2004 09:43:51 -0000       1.16
+++ files/patch-configure       6 Oct 2004 14:14:04 -0000
@@ -56,7 +56,7 @@
 -  fi
 -
        if test x$ac_cv_enable_openssl = xyes; then
-+OPENSSL_LIBS=-lssl
++OPENSSL_LIBS="-lssl -lcrypto"
  
  cat >>confdefs.h <<\_ACEOF
  #define USE_OPENSSL 1

I tested that the above still compiles on 5.3-BETA1 (don't have a later
beta available).
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041006141704.3952F16503>