From owner-freebsd-questions@freebsd.org Tue Sep 15 16:33:10 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 10AAAA04A77 for ; Tue, 15 Sep 2015 16:33:10 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-qk0-x229.google.com (mail-qk0-x229.google.com [IPv6:2607:f8b0:400d:c09::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BFB5110AE for ; Tue, 15 Sep 2015 16:33:09 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: by qkdw123 with SMTP id w123so74488140qkd.0 for ; Tue, 15 Sep 2015 09:33:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seibercom.net; s=google; h=date:from:to:subject:message-id:reply-to:organization:mime-version :content-type:content-transfer-encoding; bh=XjYX5HP1vh2WjooIFU/zJlCmKGTqSwaAsbn0TPmSZKw=; b=RBgMqKw/PTPkto3u5vlbDSnvgzmzkqkgFI/FGopqiPl9oU3GtHJyBVM8+JbpD5CIm5 WxizSy99wABouhSwuhkZFpbz1kBJnXKk+UHGCu7ohWM8HeP82ZD4Qh8ccoy/mBzdIA6R A6fo6QzoLd28oHUQzuVdT+4KQTDXWnbt1Qm18= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:reply-to :organization:mime-version:content-type:content-transfer-encoding; bh=XjYX5HP1vh2WjooIFU/zJlCmKGTqSwaAsbn0TPmSZKw=; b=IVy31do5iObOqYybULJpeBObIyCJp7oh7dgkg2ogoJdOAbSVkCqNkcgpS/1/V4U44b 3o4ifA25eCCl6C6RREFm4DZSr0jcLDtzgc92unt0izthR+xCWA1C/e5W4JuaAQAQCDa8 Wl6PDzWtBIRfmdg9xxYDCFQMlJxptOTgNHlMORs4+JXQNx9dsCIL0yWB3N3zEXcVeo3P nnz/UdogVPJICfYMN50W1efTDpvFrGDucbQsDdaptJ8i9asqeG+nJLpFkF9oB4K3Eeaa TloG85yJVwUI33yUbm1dJ79ojHiAlF+p6MftoYbvWtHXspBhNbBC+B2FR5qgMV1Xl9uq aFAQ== X-Gm-Message-State: ALoCoQneKaf+yYFGwAlqlqdf6CkmU6nBfRku/Qgj5pe/DaAAUDRvFnQZd7e3ytB7Qpu34uU/3Raw X-Received: by 10.55.55.68 with SMTP id e65mr32792444qka.24.1442334788567; Tue, 15 Sep 2015 09:33:08 -0700 (PDT) Received: from scorpio.seibercom.net (cpe-174-109-28-112.nc.res.rr.com. [174.109.28.112]) by smtp.gmail.com with ESMTPSA id 100sm8281771qky.6.2015.09.15.09.33.07 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 15 Sep 2015 09:33:07 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by scorpio.seibercom.net (Postfix) with ESMTPSA id 3nFqqQ2xslz3DlWX for ; Tue, 15 Sep 2015 12:33:06 -0400 (EDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.98.7 at scorpio.seibercom.net Date: Tue, 15 Sep 2015 12:33:06 -0400 From: Jerry To: FreeBSD FreeBSD Subject: Forcing use of newer version of OpenSSL Message-ID: <20150915123306.55760c0d@seibercom.net> Reply-To: FreeBSD FreeBSD Organization: seibercom NET X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.28; amd64-portbld-freebsd10.1) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Sep 2015 16:33:10 -0000 I have both OpenSSL 1.0.1l-freebsd 15 Jan 2015 {located in /usr/bin} and OpenSSL 1.0.2d 9 Jul 2015 {located in /usr/local/bin} residing on my system. Now, I want to use and hopefully link programs against the "port", ie, newer version. If I adjust the path to use "/usr/local/bin" first, some programs fail to build. I discovered this a few months ago and received that bit of knowledge on this forum. I therefore changed the path so "/usr/bin" goes before "/usr/local/bin". That has the effect of causing the older version of OpenSSL being used. Other than permanently changing the path, and then changing it back when a build fails, how can I permanently fix this problem. IMHO, the newer version should permanently overwrite the older version. I don't need or want to versions. Since the older version comes with the base system, I am hesitant to try and remove it. In a perfect world, the base system would be updated, but I guess that is not going to happen anytime soon. -- Jerry