Yes - I've seen this. Searching through the archives I found a message
explaining the problem (sorry, can't credit the original poster off the top
of my head). Basically...
sed -e
's,^\("solaris[^"]*-gcc.*\):gnu-shared:\(.*$\),\1:solaris-shared:\2,' Con
figure > Configure.fixed
and all should be well.
Cheers...
--On Friday, July 13, 2001 2:38 AM -0700 Joakim Hartikainen
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm trying to compile openssl 0.9.6b(a) but got a linking error, someone
> seen this before ?.
>
> I have Solaris 8 and using gcc 2.95.2,
> I use this configuration,
>
> sh ./config \
> --prefix=/usr/local/sysapps/openssl/0.9.6b \
> no-idea \
> shared \
> -fPIC
>
> Here are the erros,
> -------
> ( set -x; gcc -shared -o lib$i.so.0.9.6 \
> -Wl,-S,-soname=lib$i.so.0.9.6 \
> -Wl,--whole-archive lib$i.a \
> -Wl,--no-whole-archive $libs -lsocket -lnsl -ldl -lc ) || exit 1;
> \ libs="$libs -l$i"; \
> done
> + gcc -shared -o libcrypto.so.0.9.6 -Wl,-S,-soname=libcrypto.so.0.9.6
> -Wl,--whole-archive libcrypto.a -Wl,--no-whole-archive -L. -lsocket -lnsl
> -ldl -lc /usr/ccs/bin/ld: illegal option -- -
> /usr/ccs/bin/ld: illegal option -- w
> /usr/ccs/bin/ld: illegal option -- -
> /usr/ccs/bin/ld: illegal option -- n
> ld: warning: option -o appears more than once, first setting taken
> usage: ld [-abc:d:e:f:h:il:mo:p:rstu:z:B:D:F:GI:L:M:N:P:Q:R:S:VY:] file(s)
> ...
>
> collect2: ld returned 1 exit status
> *** Error code 1
> make: Fatal error: Command failed for target `do_gnu-shared'
> Current working directory /usr/local/sysapps/openssl/openssl-0.9.6b
> *** Error code 1
> make: Fatal error: Command failed for target `libcrypto.so.0.9.6'
> Current working directory /usr/local/sysapps/openssl/openssl-0.9.6b
> *** Error code 1
> make: Fatal error: Command failed for target `sub_all'
> --------
>
> Regards,
> Joakim
>
> --------------------------------
> Joakim Hartikainen
> Unix Technical Engineer
> Joakim Hartikainen Consulting
> Phone: +46 70 597 44 00
> http://jhc.hartikainen.ws
> ______________________________________________________________________
> OpenSSL Project http://www.openssl.org
> User Support Mailing List [EMAIL PROTECTED]
> Automated List Manager [EMAIL PROTECTED]
>
Richard Hopkins,
Information Services,
Computer Centre,
University of Bristol,
Bristol, BS8 1UD, UK
Tel +44 117 928 7859
Fax +44 117 929 1576
RFC-822: [EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]