Subject: OpenSSL shared library compilation options
To: None <tech-pkg@NetBSD.ORG>
From: None <neff@panix.com>
List: tech-pkg
Date: 10/09/2000 19:44:08
I get the following error when attempting to compile OpenSSL-0.9.5a under
NetBSD 1.4.2:

/usr/bin/ranlib ../../libcrypto.a
cd .. && csh  0 libcrypto.so.1.0 libcrypto.a
0: No such file or directory.
*** Error code 1

In patch.netbsd-ae of the openssl patches, Makefile.ssl is modified as
follows:
$NetBSD: patch.netbsd-ae,v 1.1 2000/05/10 12:28:44 veego Exp $

--- crypto/Makefile.ssl.orig    Mon Aug  2 16:44:47 1999
+++ crypto/Makefile.ssl Wed Oct 20 17:31:16 1999
@@ -48,6 +48,7 @@
        @(cd ..; $(MAKE) DIRS=$(DIR) all)
 
 all: buildinf.h lib subdirs
+       cd ${TOP} && csh ${MAKELIB} ${IS_ELF}
libcrypto.so.${MAJOR}.${MINOR} libcrypto.a
 
 buildinf.h: ../Makefile.ssl
        ( echo "#ifndef MK1MF_BUILD"; \


I don't think my system knows what to make of ${MAKELIB}.  What do I need
to install/do to get this to work?

-- Felicia