I think you could try this:
Extract *.o files in the static library with
ar -x libssl.a
Then link them again with:
ld -rpath "/usr/local/ssl" -shared -o libssl.so *.o
The command "file libssl.so" reports then:
libssl.so: ELF 32-bit LSB shared object, Intel 80386, version 1, not
stripped
so I think this is correct.
But ther is a compiler option in the makefiles to compile as shared libs
directly.
-----Original Message-----
From: Ricardo Stella <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: lunes 28 de agosto de 2000 14:57
Subject: Re: How can I change "libssl.a" into "libssl.so"?
>
>You need to do a little more reading...
>
>Sure you can 'rename' it, but that won't do you any good...
>
>Anything with a '.so' extension is a shared library, and must be
>compiled as such.
>
>My .02...
>
>Howard wrote:
>>
>> ÄãºÃ£¡
>>
>> I find "libssl.a" and "libcrypto.a" in the path "/usr/local/ssl/lib/".
>>
>> I cannot find "libssl.so" ,there is only "libcrypto.so" in "/usr/lib/"?
>>
>> Oh... what shall I do?
>>
>> PS: My OS is "RedHat Linux 6.2".
>>
>> ÖÂ
>> Àñ£¡
>>
>> Howard
>> [EMAIL PROTECTED]
>>
>> ______________________________________________________________________
>> OpenSSL Project http://www.openssl.org
>> User Support Mailing List [EMAIL PROTECTED]
>> Automated List Manager [EMAIL PROTECTED]
>
>--
>------------------------------------------------------------------
> Ricardo Stella O.I.T.
> (609)896-5000 x7436 _suAve_ Rider University
> *** Remove 'no-spam' from e-mail address before replying. ***
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]