From owner-freebsd-questions@FreeBSD.ORG Wed Apr 16 16:51:56 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4CA4037B401; Wed, 16 Apr 2003 16:51:56 -0700 (PDT) Received: from vp4.netgate.net (vp4.netgate.net [205.214.170.248]) by mx1.FreeBSD.org (Postfix) with ESMTP id E8A9D43F75; Wed, 16 Apr 2003 16:51:55 -0700 (PDT) (envelope-from admin@forkthepenguin.com) Received: from localhost (ibrew@localhost) by vp4.netgate.net (8.11.6/8.11.6) with ESMTP id h3GNptX22569; Wed, 16 Apr 2003 16:51:55 -0700 (PDT) Date: Wed, 16 Apr 2003 16:51:55 -0700 (PDT) From: Kill the Penguin X-X-Sender: ibrew@vp4.netgate.net To: freebsd-questions@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: dinoex@freebsd.org Subject: SHLIBVER in OpenSSL X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Apr 2003 23:51:56 -0000 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