From owner-freebsd-questions@FreeBSD.ORG Thu Nov 17 23:56:05 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B7DF16A41F for ; Thu, 17 Nov 2005 23:56:05 +0000 (GMT) (envelope-from zhengyi@zhengyi.ath.cx) Received: from zhengyi.ath.cx (adsl-69-236-187-247.dsl.pltn13.pacbell.net [69.236.187.247]) by mx1.FreeBSD.org (Postfix) with ESMTP id C774543D45 for ; Thu, 17 Nov 2005 23:56:04 +0000 (GMT) (envelope-from zhengyi@zhengyi.ath.cx) Received: by zhengyi.ath.cx (Postfix, from userid 1001) id D6CE55083C; Thu, 17 Nov 2005 16:54:04 -0800 (PST) Date: Thu, 17 Nov 2005 16:54:04 -0800 From: Justin Meyer To: FreeBSD Questions Mailing List Message-ID: <20051118005404.GA53252@oracle.local.lan> Mail-Followup-To: FreeBSD Questions Mailing List Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Organization: Absolutely None Subject: Should I have 2 copies of OpenSSL? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: zhengyi@anarkismus.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Nov 2005 23:56:05 -0000 Hi Folks, I've got a 6.0-STABLE box here that I've upgraded from sources serveral times, from all the way back from 5.0 (and maybe from 4.x; I honestly can't remember at this point...) I'm fairly sure I followed directions properly along the way, because I always got everything working again after each upgrade. Except this time, a Ruby script using Ruby's 'http-access2' module started throwing odd OpenSSL exceptions. After poking a bit, I found the following: > ttyp3 zhengyi@oracle:~/code/ruby $ /usr/bin/openssl version OpenSSL 0.9.7e-p1 25 Oct 2004 > ttyp3 zhengyi@oracle:~/code/ruby $ /usr/local/bin/openssl version OpenSSL 0.9.8a 11 Oct 2005 I guess the one in /usr/bin came with the system, and the one in /usr/local/bin came from ports: > ttyp3 zhengyi@oracle:~/code/ruby $ pkg_info|grep openssl openssl-0.9.8a SSL and crypto library What gives? Is the way things should be? Or did I foul something up somewhere along the way through my upgrades? If I did mess something up, what should I do to fix it? Thank you! -- Justin