There have been many reports on shared OpenSSL libraries not being
possible to build on Solaris when gcc is used as a compiler unless GNU
ld was installed as default ld before gcc got installed.

I just made a change to Makefile.org that asks gcc where collect2 is,
and then asks collect2 which ld it uses and adapts depending on the
result.

This seems to work well on GNU systems (like Linux is, at least
development-wise) and on the two Solaris systems I use (where one uses
Solaris ld through collect2 and the other uses GNU ld).  I have tested
nothing else so far, although the fix is applied for all non-GNU
do_*-shared variants.

I would like everyone who can to download the snapshot that'll be
built tonight and try to build shared libraries with it (use the
"shared" keyword with config or Configure.  The snapshot will be named
openssl-SNAP-20011010.tar.gz.

NOTES:

  1. shared library support will *still* be experimental, and
     therefore not trustable.  The only thing I'm interested in right
     now is that the shared libraries get built without errors and
     that they contain all the symbols found in util/libeay.num and
     util/ssleay.num (and probably some more, depending on the
     operating system).  The development of OpenSSL still breaks
     binary backward compatibility, so shared libraries are pointless
     from that point of view anyway.  However, we've said that
     starting with version 1.0, backward binary compatibility will be
     supported, and it is rather nice to have shared library support
     in place before that.

  2. there are systems where we haven't implemented shared library
     support.  If the system in question has shared library support
     doesn't matter.  If you'd like shared library support for your
     system, please contribute some code to fix it.

  3. No, I still don't intend to use libtool.

-- 
Richard Levitte   \ Spannv�gen 38, II \ [EMAIL PROTECTED]
Redakteur@Stacken  \ S-168 35  BROMMA  \ T: +46-8-26 52 47
                    \      SWEDEN       \ or +46-733-72 88 11
Procurator Odiosus Ex Infernis                -- [EMAIL PROTECTED]
Member of the OpenSSL development team: http://www.openssl.org/
Software Engineer, GemPlus:             http://www.gemplus.com/

Unsolicited commercial email is subject to an archival fee of $400.
See <http://www.stacken.kth.se/~levitte/mail/> for more info.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to