Date: Sat, 24 Jun 2000 15:22:10 -0700 (MST) From: John Reynolds <jjreynold@home.com> To: "Scot W. Hetzel" <hetzels@westbend.net> Subject: Re: compile problem with fetchmail with openssl installed on 3.5-STABLE Message-ID: <14677.13458.653061.910768@whale.home-net> In-Reply-To: <005401bfddf5$ad2e9360$8dfee0d1@westbend.net> References: <14676.19015.25060.676768@whale.home-net> <005401bfddf5$ad2e9360$8dfee0d1@westbend.net>
next in thread | previous in thread | raw e-mail | index | archive | help
[ On Saturday, June 24, Scot W. Hetzel wrote: ] > > I believe those functions are in the rsaref port. > Do you have USA_RESIDENT set to YES in the /etc/make.conf file? Yes. All caps. > Do you have the rsaref port installed? Yes. > Try adding EXTRA_SSL_LIBS to the sources Makefile and see if that will fix > the problem. I didn't know quite what to do here per your suggestion. I looked for EXTRA_SSL_LIBS in $PORTSDIR/Mk/bsd.port.mk and found: .if ${USE_OPENSSL} == RSA && defined(USA_RESIDENT) && ${USA_RESIDENT} == YES LIB_DEPENDS+= rsaref.2:${PORTSDIR}/security/rsaref # We set this so ports can decide whether or not to link against librsaref # and libRSAglue OPENSSL_RSAREF= yes MAKE_ENV+= EXTRA_SSL_LIBS="-L${OPENSSLBASE}/lib -L${LOCALBASE}/lib -lRSAglue -lrsaref" .endif reading through this, I thought I needed to set the variable USE_OPENSSL to "RSA" so I modified fetchmail's Makefile like so: .if ${OSVERSION} >= 400014 CONFIGURE_ARGS+=--enable-inet6 .if exists(/usr/lib/libssl.a) && exists(/usr/lib/libcrypto.a) CONFIGURE_ARGS+=--with-ssl=/usr .endif .elif exists(${LOCALBASE}/lib/libssl.a) && exists(${LOCALBASE}/lib/libcrypto.a) USE_OPENSSL=RSA # added this line CONFIGURE_ARGS+=-with-includes=${LOCALBASE}/include/openssl --with-ssl=${LOCALBASE} .endif But, this did not help .... however ... I went into the working directory and issued the final "link" command and added "-lRSAglue -lrsaref" as extra libs and the sucker linked. So, your hypothesis is correct--some dependency on those two libraries being added isn't there--but I'm not sure how to "fix it." .... -Jr -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= John Reynolds Chandler Capabilities Engineering, CDS, Intel Corporation jreynold@sedona.ch.intel.com My opinions are mine, not Intel's. Running jjreynold@home.com FreeBSD 3.4-STABLE. FreeBSD: The Power to Serve. http://members.home.com/jjreynold/ Come join us!!! @ http://www.FreeBSD.org/ =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14677.13458.653061.910768>