problem compiling postfix

Monte Ohrt monte at ispi.net
Thu Apr 3 11:18:05 PST 2003


> 
> 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





More information about the freebsd-ports mailing list