undefined symbol: SSL_SESSION_new in linking

Matt Caswell matt at openssl.org
Wed Nov 10 11:32:57 UTC 2021


So the obvious question is how are you linking? Do you link in libssl?

Matt

On 10/11/2021 09:29, Kumar Mishra, Sanjeev wrote:
> Hi,
> I have used SSL_SESSION_new() and SSL_SESSION_free() API of OpenSSL3.0 
> while upgrading my code from 1.0.1 to 3.0. But I am getting following 
> linking error.....I have already included file <openssl/ssl.h> in 
> it.....Please suggest changes
> 
> /sonus/p4/ws/skumarmishra/openssl3/common/dist/bin/db64/SerializationTestFixture: 
> symbol lookup error: db64/libsipcmsertest.so: undefined symbol: 
> SSL_SESSION_new
> 
> Thanks in anticipation
> Sanjeev
> 
> Notice: This e-mail together with any attachments may contain 
> information of Ribbon Communications Inc. and its Affiliates that is 
> confidential and/or proprietary for the sole use of the intended 
> recipient. Any review, disclosure, reliance or distribution by others or 
> forwarding without express permission is strictly prohibited. If you are 
> not the intended recipient, please notify the sender immediately and 
> then delete all copies, including any attachments.


More information about the openssl-users mailing list