From owner-freebsd-ports Wed Feb 12 22:46:10 2003 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A0DD37B401; Wed, 12 Feb 2003 22:46:09 -0800 (PST) Received: from puffin.mail.pas.earthlink.net (puffin.mail.pas.earthlink.net [207.217.120.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D57C43FCB; Wed, 12 Feb 2003 22:46:08 -0800 (PST) (envelope-from tlambert2@mindspring.com) Received: from pool0060.cvx21-bradley.dialup.earthlink.net ([209.179.192.60] helo=mindspring.com) by puffin.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 18jD87-000797-00; Wed, 12 Feb 2003 22:45:56 -0800 Message-ID: <3E4B3ECE.94175119@mindspring.com> Date: Wed, 12 Feb 2003 22:44:30 -0800 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Lucky Green Cc: postfix_tls@aet.tu-cottbus.de, ports@freebsd.org, openssl-users@openssl.org, 'Vivek Khera' , freebsd-current@FreeBSD.ORG Subject: Re: OpenSSL 0.9.6/0.9.7 library version conflicts References: <003201c2d315$8d998e20$6601a8c0@VAIO650> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a495115c9b189d61253022c4a5bdb2928693caf27dac41a8fd350badd9bab72f9c350badd9bab72f9c Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Lucky Green wrote: > I just spent a few days trying to determine why postfix with STARTTLS > enabled is instantly dumping core on my new FreeBSD 5.0 machine. > > The problem was caused by a conflict between OpenSSL library versions > 0.9.6 and 0.9.7, both of which are installed on the machine. The former > as part of the FreeBSD base distribution, the latter as a Port. > > Unfortunately, the nature of the conflict, at least on my box, prevented > any meaningful gdb back trace. > > If you are seeing unexplained core dumps with SSL-using applications and > have both OpenSSL 0.9.6 and 0.9.7 installed, chances are you ran into > this problem. > > Fix: > no idea. Very easy. Make Postfix obey the port path, when obtaining header files and linking components. It should get everything from the system location, or it should get everything from the default location. The most likely scenario is that the include path is not being overridden, even when the library path is. This is most likely due to a bug in the GNU configure script. The best way around those bugs is "do not use GNU configure". > FYI, FreeBSD is not the only OS on which this problem has been found to > exist. Debian Linux is experience the same problem. See a post to > debian-devel-announce attached below. FWIW: this confirms that it's a Postfix problem. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message