Good to hear it worked out okay. Had not anticipated the symbol
collision, so I am really glad you found is was due to that.

Take care and good luck,

Ger


On Mon, Aug 18, 2008 at 6:49 AM, Ambarish Mitra
<[EMAIL PROTECTED]> wrote:
> (Top-posting since this mail is not a direct reply)
>
> Hi Ger,
>
> Thanks for leading me in the right direction. The problem is solved. It was
> my silly mistake.
>
> Actually, my main build was also linking with another library that in turn
> was linking with openssl. This is a 3rd party library, and I did not know
> that it indeed had openssl symbols.
>
> Linking:
> g++ -o output.bin appssl.o /dir/libssl.a
> /dir/libcrypto.a -L/dir/lib -laccess
>
> The above linking is correct. It statically links the ssl and crypto
> library, and shared links with a library called libaccess. Now, this library
> also has openssl symbols, which I checked by doing "nm". If I link both of
> these in a shared library manner (-l), then there is symbols conflict, and
> so it deos not work according to expectation. Now, with static linkage, it
> works.
>
> Thanks!


-- 
Met vriendelijke groeten / Best regards,

Ger Hobbelt

--------------------------------------------------
web: http://www.hobbelt.com/
 http://www.hebbut.net/
mail: [EMAIL PROTECTED]
mobile: +31-6-11 120 978
--------------------------------------------------
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to