[openssl-dev] Configure --prefix and --openssldir
Richard Levitte
levitte at openssl.org
Tue Jan 19 18:52:30 UTC 2016
In message <20160119183742.GP646 at mournblade.imrryr.org> on Tue, 19 Jan 2016 18:37:42 +0000, Viktor Dukhovni <openssl-users at dukhovni.org> said:
openssl-users> On Tue, Jan 19, 2016 at 07:06:06PM +0100, Richard Levitte wrote:
openssl-users>
openssl-users> > When I look at them today, they look... well, a bit aged, and could
openssl-users> > use a refreshment. But before doing anything with these options, I'd
openssl-users> > like to know how you guys are using them, and how they could be
openssl-users> > better.
openssl-users> >
openssl-users> > As a recap, here's how they work today (*):
openssl-users> >
openssl-users> > --prefix unset, --openssldir unset
openssl-users> > => INSTALLTOP=/usr/local/ssl , OPENSSLDIR=/usr/local/ssl
openssl-users> > ...
openssl-users>
openssl-users> I only use "--prefix". There seems to be some code in Configure
openssl-users> to support BSD platforms by adding "-rpath" when --prefix is not
openssl-users> /usr, but it does not seem to work (the flag does not actually make
openssl-users> it into the link command for libssl.so). I have to explicitly
openssl-users> tweak the BSD definition in Configurations/.
openssl-users>
openssl-users> Fixing that might be useful.
Check if this litte patch helps:
openssl base64 -d <<EOF | gunzip -c | patch -p1
H4sIAHWFnlYAA5WOzUrDQACEz9mnGNMcGpNNUmKJIoXaerDgQVTwYG3Jz26yuN2E
zRZbrH12KwZUPIinGQbmmykE56C0FAZpOK0VF+VaM2RfnghVsA3iiJ1FWRIEcRwl
J6cZBlGUDIeEUvq9STzP+9Eej0EHSZz4CbxOD5Hg6Dsm1SUzGO0RzqnIcyd0rR5m
yjCJKfJ61QjJNEEPUqhnplErucVLxdThcaMZFxuIFqo2CNetDsgv7GJydzmnoUtg
vRJqOW2ValYsZcFlWgYjG/RB+lQ3qan8udO/nk1uby7ur1z7k9RtHO2x2i0+Jh7D
p2Nn554T7y/Wv2iw3gi69+22XYoCisG2XfIOdTfeR58BAAA=
EOF
Cheers,
Richard
--
Richard Levitte levitte at openssl.org
OpenSSL Project http://www.openssl.org/~levitte/
More information about the openssl-dev
mailing list