From owner-freebsd-security Fri Dec 3 18:46:15 1999 Delivered-To: freebsd-security@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id 49BF414D2F for ; Fri, 3 Dec 1999 18:46:05 -0800 (PST) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.9.3) id VAA32715 for freebsd-security@freebsd.org; Fri, 3 Dec 1999 21:48:51 -0500 (EST) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199912040248.VAA32715@cc942873-a.ewndsr1.nj.home.com> Subject: OpenSSL does not build under 2.2.8S? To: freebsd-security@freebsd.org Date: Fri, 3 Dec 1999 21:48:51 -0500 (EST) Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Between the RSAref2 overflow issue and all of the chatter about OpenSSH, I figured I would update my systems. I am having trouble building OpenSSL on an old 2.2.8-STABLE machine. It is a production machine, a mailserver, so I would rather not go through the rather large production of upgrading to 3.x. I am trying to build from the ports and this is the error, # cd /usr/ports/security/openssl # make ===> Building for openssl-0.9.4 . . . making all in crypto/comp... cc -I.. -I../../include -fPIC -DRSAref -DTERMIOS -DL_ENDIAN -O -pipe -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -c comp_lib.c cc -I.. -I../../include -fPIC -DRSAref -DTERMIOS -DL_ENDIAN -O -pipe -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -c c_rle.c cc -I.. -I../../include -fPIC -DRSAref -DTERMIOS -DL_ENDIAN -O -pipe -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -c c_zlib.c ar r ../../libcrypto.a comp_lib.o c_rle.o c_zlib.o /usr/bin/ranlib ../../libcrypto.a + cc -shared -o libcrypto.so.1 -Wl,-S,-soname=libcrypto.so.1 -Wl,--whole-archive libcrypto.a ld: invalid command option `--whole-archive' *** Error code 1 Stop. *** Error code 1 Stop. *** Error code 1 Stop. *** Error code 1 Stop. # The problem apparently lies with the version of ld(1) in 2.2.8S. My last make-world and CVSup was October 31 of this year. I am no shared library or ld expert, so I hesitate to go into the Makefile myself and mess with that command. Has anyone recently build OpenSSL on a 2.2.8S system? Can anyone provide me with the "proper" command for 2.2.8S that does the same job as the one that fails above? Thanks for the help. [Note: I posted this to -questions, this morning but only silence. Thought it was relevent, and I might get a response, on this list.] -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message