Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Dec 1999 10:39:53 -0500 (EST)
From:      "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com>
To:        freebsd-questions@FreeBSD.ORG (FreeBSD Questions)
Subject:   OpenSSL does not build under 2.2.8S?
Message-ID:  <199912031539.KAA31567@cc942873-a.ewndsr1.nj.home.com>

next in thread | raw e-mail | index | archive | help
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.
-- 
Crist J. Clark                           cjclark@home.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912031539.KAA31567>