Subject: Re: OpenSSL shared library compilation options
To: None <neff@panix.com>
From: Frederick Bruckman <fb@enteract.com>
List: tech-pkg
Date: 10/09/2000 19:40:10
On Mon, 9 Oct 2000 neff@panix.com wrote:

> 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

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

What kind of system is it? I don't recall having this problem with
1.4.2/m68k and 1.4.2/i386, but I see there's no package for 1.4.2/m68k
on the ftp site. I know for a fact that openssl builds against
1.4.3/i386 and 1.4.3/m68k. In any case, it sounds like a csh bug. You
MIGHT try extracting the 1.4.3 csh source from
<ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-release/tar_files/src/bin.tar.gz>,
but there's no guarantee it will build in isolation (good chance, though).

There were some commits to "csh" just after 1.4.2 which seem to be
relevant. (See <http://cvsweb.netbsd.org/bsdweb.cgi/basesrc/bin/csh/>
-- "boost BUFSIZE to 4K".) These have been pulled up to 1.5, but NOT
to 1.4.3, so if it doesn't work with 1.4.3 csh, it may not be too late
to request a pull-up.

Do you have an unusually large or otherwise customised ~/.cshrc or
/etc/csh.cshrc? If so, maybe all you have to do is move that out of
the way to avoid triggering the bug.


Frederick