Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Jul 2010 02:50:03 GMT
From:      Andrew Reilly <areilly@bigpond.net.au>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/147175: libhx509.so containes references to MD2_* but doesn't reference libcrypto.so, which has them
Message-ID:  <201007040250.o642o3cP010356@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/147175; it has been noted by GNATS.

From: Andrew Reilly <areilly@bigpond.net.au>
To: bug-followup@FreeBSD.org, areilly@bigpond.net.au
Cc:  
Subject: Re: bin/147175: libhx509.so containes references to MD2_* but
 doesn't reference libcrypto.so, which has them
Date: Sun, 4 Jul 2010 12:41:16 +1000

 --MP_/GDaVaIp3j5kTHLp_jjRC=av
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 Fixed!  Patch attached.
 
 Turns out that to tell a shared lib about its dependencies, you
 need to add a DPADD and LDADD (perhaps only the latter) to the
 Makefile, as shown in the attached patch.
 
 Evolution-data-server and other ports that link against the
 gssapi-related libs now configure and build OK.  Yay!
 
 -- 
 Andrew
 
 --MP_/GDaVaIp3j5kTHLp_jjRC=av
 Content-Type: text/x-patch
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment; filename=libhx509.patch
 
 --- Makefile.orig	2008-05-07 23:53:04.000000000 +1000
 +++ Makefile	2010-07-04 10:05:58.000000000 +1000
 @@ -82,6 +82,9 @@
  SRCS+=${GEN_ASN1}
  INCS+=${GEN_ASN1}
  
 +DPADD+= ${LIBCRYPTO}
 +LDADD+= -lcrypto
 +
  .ORDER: ${GEN} ${GEN_ASN1}
  
  ${GEN_OCSP} ocsp_asn1.h: ocsp.asn1 ../../tools/asn1_compile/asn1_compile
 
 --MP_/GDaVaIp3j5kTHLp_jjRC=av--



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