Ok, the point of confusion was

1. Make/Installing openssl source produces libssl.so
AND
2. Netscape's crypto library is also libssl3.so   (with the only
difference of '3')

I'll use the latter one now. Thank you all for your help

- Sagar

On Sun, Nov 22, 2009 at 7:33 PM, Sander Temme <san...@temme.net> wrote:
>
> On Nov 22, 2009, at 2:27 PM, Sagar Dixit wrote:
>
>> Yes,
>>
>> I ran firefox through strace and saw that for https websites it uses 
>> libssl3.so
>
> scte...@surtur:~$ dpkg -S /usr/lib/libssl3.so
> libnss3-1d: /usr/lib/libssl3.so
>
> NSS is Netscape's crypto library.
>
> S.
>
>> On Sun, Nov 22, 2009 at 5:15 PM, Sander Temme <san...@temme.net> wrote:
>>> On Nov 22, 2009, at 1:53 PM, Sagar Dixit wrote:
>>>
>>>> Hi,
>>>>
>>>> I'm trying to trace the calls in libssl while I run firefox. I
>>>> downloaded openssl-0.9.8l.tar.gz  source and added my logging
>>>> information into source files (just for study purpose) and executed
>>>> following steps
>>>>
>>>> ./config -fPIC shared
>>>> make
>>>> make install
>>>>
>>>> This created /usr/local/ssl/lib/libssl.so  I added the path to
>>>> LD_LIBRARY_PATH and ran firefox. But firefox failed with
>>>>
>>>> sa...@sagar-laptop:~/Desktop/openssl-0.9.8l$ firefox
>>>> Couldn't load XPCOM.
>>>
>>> Are you sure Firefox uses OpenSSL?  I was under the impression that it uses 
>>> the Netscape crypto library.
>>>
>>> S.
>>>
>>>
>>>> I used xpcshell to trace the problem and saw this:
>>>>
>>>> sa...@sagar-laptop:~/Desktop/openssl-0.9.8l$ xpcshell-1.9
>>>> xpcshell-1.9: /usr/local/ssl/lib/libssl3.so: no version information
>>>> available (required by /usr/lib/xulrunner-1.9.0.15/libxul.so)
>>>> xpcshell-1.9: /usr/local/ssl/lib/libssl3.so: no version information
>>>> available (required by /usr/lib/xulrunner-1.9.0.15/libxul.so)
>>>> xpcshell-1.9: relocation error: /usr/lib/xulrunner-1.9.0.15/libxul.so:
>>>> symbol SSL_ImplementedCiphers, version NSS_3.2 not defined in file
>>>> libssl3.so with link time reference
>>>>
>>>> I think Mozilla Firefox 3.5 needs libssl3.so   (and renaming libssl.so
>>>> to libssl3.so did not work and gave same error)
>>>>
>>>> I later tried nm on original libssl.so (/usr/lib/libssl.so) and on
>>>> 'new' libssl.so  (/usr/local/ssl/lib/libssl.so)
>>>> and found that OPENSSL_0.9.8 symbol is missing in 'new' built libssl.so
>>>>
>>>> Am I missing anything in Installation steps ?   How can I pass the
>>>> versioning information during installation steps ?
>>>> I read the INSTALL file but could not find any related information.
>>>>
>>>> Any help is highly appreciated.
>>>>
>>>> Thanking you,
>>>> Sagar
>>>> ______________________________________________________________________
>>>> OpenSSL Project                                 http://www.openssl.org
>>>> User Support Mailing List                    openssl-us...@openssl.org
>>>> Automated List Manager                           majord...@openssl.org
>>>>
>>>>
>>>
>>>
>>> --
>>> san...@temme.net              http://www.temme.net/sander/
>>> PGP FP: 51B4 8727 466A 0BC3 69F4  B7B8 B2BE BC40 1529 24AF
>>>
>>>
>> ______________________________________________________________________
>> OpenSSL Project                                 http://www.openssl.org
>> User Support Mailing List                    openssl-us...@openssl.org
>> Automated List Manager                           majord...@openssl.org
>>
>>
>
>
> --
> san...@temme.net              http://www.temme.net/sander/
> PGP FP: 51B4 8727 466A 0BC3 69F4  B7B8 B2BE BC40 1529 24AF
>
>
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to