In message <[EMAIL PROTECTED]> on Mon, 29 Mar 2004 08:05:34 -0800, Brian Lauer <[EMAIL 
PROTECTED]> said:

brian8192> During configuration you need to specify whether you want
brian8192> shared libraries or archive files (./configure --shared).

Correction: ./config shared

brian8192> You can convert an archive file to a shared object by doing
brian8192> this:
brian8192> 
brian8192> gcc -o libssl.so --shared libssl.a
brian8192> gcc -o libcrypto.so --shared libcrypto.a

You need a little more than that, or you may end up with very little.
At the very least, you need to say that the whole static library
should be used to build the shared library, not just the "missing
symbols", with -Wl,--whole-library:

gcc -o libssl.so --shared -Wl,--whole-library libssl.a
gcc -o libcrypto.so --shared -Wl,--whole-library libcrypto.a

-----
Please consider sponsoring my work on free software.
See http://www.free.lp.se/sponsoring.html for details.

-- 
Richard Levitte   \ Tunnlandsvägen 52 \ [EMAIL PROTECTED]
[EMAIL PROTECTED]  \ S-168 36  BROMMA  \ T: +46-708-26 53 44
                    \      SWEDEN       \
Procurator Odiosus Ex Infernis                -- [EMAIL PROTECTED]
Member of the OpenSSL development team: http://www.openssl.org/

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
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to