Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Apr 2003 16:51:55 -0700 (PDT)
From:      Kill the Penguin <admin@forkthepenguin.com>
To:        freebsd-questions@freebsd.org
Cc:        dinoex@freebsd.org
Subject:   SHLIBVER in OpenSSL
Message-ID:  <Pine.BSI.4.44L.0304161642500.11153-100000@vp4.netgate.net>

next in thread | raw e-mail | index | archive | help

Can anyone explain why version 3 of libcrypto.so (libcrypto.so.3) is only
created when OpenSSL is installed in /usr/local? If OPENSSL_OVERWRITE_BASE
is defined during make, the version is kept at 2 (libcrypto.so.2).
Unfortunately ModSSL appears to want libcrypto.so.3 installed which
requires that a local installation of OPENSSL exist in addition to the
base install. Preferrably a single installation of OpenSSL can be
maintained in the base OS. Below is the Makefile code from OpenSSL 0.9.7a.

Failing this, is there a way to tell ModSSL to use libcrypto.so.2?

Much appreciated.

Chris

.if defined(NOSHARED)
PLIST_SUB+=     SHARED="@comment "
.else
PLIST_SUB+=     SHARED=""
ALL_TARGET=     freebsd-shared all
.if exists(/usr/lib/libcrypto.so.3)
SHLIBVER=       4
.else
SHLIBVER=       3
.endif
MAKE_ENV+=      SHLIBVER=${SHLIBVER}
PLIST_SUB+=     SHLIBVER=${SHLIBVER}
INSTALLS_SHLIB= yes
.endif

.if defined(OPENSSL_OVERWRITE_BASE)
PKGNAMESUFFIX=  -overwrite-base
PREFIX=         /usr
.if exists(/usr/lib/libcrypto.so.3)
SHLIBVER=       3
.else
SHLIBVER=       2
.endif




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.4.44L.0304161642500.11153-100000>