From owner-freebsd-questions@FreeBSD.ORG Wed Oct 28 15:57:53 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6868E1065692 for ; Wed, 28 Oct 2009 15:57:53 +0000 (UTC) (envelope-from gosand1982@yahoo.com) Received: from n20.bullet.mail.mud.yahoo.com (n20.bullet.mail.mud.yahoo.com [68.142.206.147]) by mx1.freebsd.org (Postfix) with SMTP id 248E28FC1D for ; Wed, 28 Oct 2009 15:57:52 +0000 (UTC) Received: from [68.142.194.243] by n20.bullet.mail.mud.yahoo.com with NNFMP; 28 Oct 2009 15:57:52 -0000 Received: from [67.195.9.83] by t1.bullet.mud.yahoo.com with NNFMP; 28 Oct 2009 15:57:52 -0000 Received: from [67.195.9.102] by t3.bullet.mail.gq1.yahoo.com with NNFMP; 28 Oct 2009 15:57:52 -0000 Received: from [127.0.0.1] by omp106.mail.gq1.yahoo.com with NNFMP; 28 Oct 2009 15:57:52 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 333705.83466.bm@omp106.mail.gq1.yahoo.com Received: (qmail 93729 invoked by uid 60001); 28 Oct 2009 15:57:52 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1256745472; bh=dCalACLxAD5NjlweBaOhnBpFXukIOK2vKxA7sAY0pFA=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=TiSXGl+Ub72Y3ypqsPkzRhb5hGOcSTn0NswZb+ArhWcVaRklO4bcwPoYK9ci8FQHRlkTbHjSZxPH4VdSm4wS7n7skiLF++3wBlhD1KAji9xlzEROuIdOIBzCO+zBpcdvSzSVT5ziqoJx4otUPg0QAQ9xRu5mQM5RFa8qnotzrAQ= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=lFUQnK+BAaPK4QHkUdoYFCaNTyG5BvodNCBPlmzGn3FmBXWNbfQUnmI8p5y6HZzxOnqEpfNskkI0d0/mVWkUXvoKH+EFc/l5/ty82bzFq+l+bgFRiAW+Y+IldT+ldGIK0ezKDspVRQZq6wGAnUIYmhGfD2NHdsb4O5PmTov4esI=; Message-ID: <222251.93672.qm@web111616.mail.gq1.yahoo.com> X-YMail-OSG: UcO_9IYVM1l76aVvPahiFzzuy0OFuldfM7E_SYJfgJyU2UP5kpfTAUwcyAHPsBaysY8V.UtwlXGwI84WppIRWsfSXRy_bUy5QWDbICIjpXDUOlkzFauDjl7cNZxGG6vLQ1L9Fp4pRhXKd0vVr_m8wUEUttAFKmCXIn_09brRWJu4ko0M66dTqEOBV28HSpe7UVWllgkgVNqH74UehCPrK.QPaWTnMHgjqkq4djmlNQhjwKehkDBV.8owqZUrOMitkXDp Received: from [75.103.4.106] by web111616.mail.gq1.yahoo.com via HTTP; Wed, 28 Oct 2009 08:57:52 PDT X-Mailer: YahooMailRC/182.10 YahooMailWebService/0.7.347.3 Date: Wed, 28 Oct 2009 08:57:52 -0700 (PDT) From: George Sanders To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: How do I replace the built-in OpenSSL with a source tarball ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Oct 2009 15:57:53 -0000 I would like to: - upgrade the built-in OpenSSL that comes with FreeBSD (in my case, 6.4-RELEASE) - replace it with OpenSSL that I build myself from the source tarball If I do this with a plain old: ./config ; make ; make install OpenSSL does indeed build and install, but it installs in an alternate location and does not overwrite the FreeBSD built-in. Ok, should be easy to fix - I will simply use an: --prefix config directive and point it to /usr: --prefix=/usr However, that does not work - running: /usr/local/ssl/bin/openssl version shows me that this binary has not changed. Ok, no problem, I will simply use: --prefix=/usr/local instead ... but that also does not work. No matter what I do, I cannot get the OpenSSL source tarball to overwrite my built-in OpenSSL in FreeBSD - I always end up having two binaries in two different locations. Can someone tell me how to just cleanly replace the built-in OpenSSL with the source tarball ? Thanks.