How do I replace the built-in OpenSSL with a source tarball ?

Gary Gatten Ggatten at
Wed Oct 28 16:01:56 UTC 2009

Maybe remove the existing package first?  And try to use a pkg if you
can for the new one.

-----Original Message-----
From: owner-freebsd-questions at
[mailto:owner-freebsd-questions at] On Behalf Of George Sanders
Sent: Wednesday, October 28, 2009 10:58 AM
To: freebsd-questions at
Subject: How do I replace the built-in OpenSSL with a source tarball ?

I would like to:

- upgrade the built-in OpenSSL that comes with FreeBSD (in my case,

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


config directive and point it to /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:


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 ?



freebsd-questions at mailing list
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe at"

<font size="1">
<div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 1.0pt 0in'>
"This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system."

More information about the freebsd-questions mailing list