Date: 03 Apr 2003 13:18:00 -0600 From: Monte Ohrt <monte@ispi.net> To: Doug Silver <dsilver@urchin.com> Cc: freebsd-ports@freebsd.org Subject: Re: problem compiling postfix Message-ID: <1049397480.25607.28.camel@lena.ispi.prv> In-Reply-To: <200304031012.25929.dsilver@urchin.com> References: <1049391488.25607.21.camel@lena.ispi.prv> <200304031012.25929.dsilver@urchin.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> > I saw errors like that when compiling mod_php4, which was due to it trying to > link in the libssl and/or libcrypto libraries. You can probably see the > exact error by looking in the config.log file. These libraries are in the > base system and will be installed in /usr/local if you install openssl from > ports. There are a couple of possible solutions: > > 1. Find the patch for /usr/ports/Mk/bsd.port.mk which forces it to use > OPENSSLBASE/USE_OPENSSL_PORT directives in your make.conf file. I have it, > and it's been posted to this list in the past few weeks. > > 2. You could also try temporarily symlinking /usr/lib/libssl.so/libcrypto.so > to the newer versions in /usr/local and see if that fixes it. > > I've done both and things seem to be able to compile and work properly. There > are only a few things in the base system that link against them (sshd, pppd, > etc). I decided to use the ports ssh rather than the base, so this hasn't > been a big inconvenience to work around the openssl library issue. > > HTH. > > -doug > I applied this patch to bsd.port.mk: http://www.freebsd.org/cgi/getmsg.cgi?fetch=681173+688037+/usr/local/www/db/text/2003/freebsd-ports/20030323.freebsd-ports I added this line to /etc/make.conf: USE_OPENSSL_PORT=yes Then did "make distclean; make" in the postfix directory. I got the exact same errors. Did I miss something? TIA Monte
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1049397480.25607.28.camel>