Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Titan » OpenSSL 1.1.1.g not supported(TITAN OpenSSL)
OpenSSL 1.1.1.g not supported [message #1833028] Thu, 01 October 2020 06:23 Go to next message
Yann Garcia is currently offline Yann GarciaFriend
Messages: 145
Registered: June 2016
Senior Member
Hello,

I just updated OpenSSL from version 1.1.1 (Sept 2018) to 1.1.1g (Apr 2020).
When I compile TITAN from scratch, I got the following errors:

Int.o: In function `Common::int_val_t::operator-() const':
Int.cc:(.text+0x4c0): undefined reference to `BN_is_negative'
Int.o: In function `Common::int_val_t::operator-(Common::int_val_t const&) const':
Int.cc:(.text+0x9b9): undefined reference to `BN_is_negative'
Int.cc:(.text+0x9d1): undefined reference to `BN_is_negative'
Int.o: In function `Common::int_val_t::operator+(Common::int_val_t const&) const':
Int.cc:(.text+0xcb9): undefined reference to `BN_is_negative'
Int.cc:(.text+0xcd1): undefined reference to `BN_is_negative'
Int.o:Int.cc:(.text+0x159b): more undefined references to `BN_is_negative' follow
../common/openssl_version.o: In function `openssl_version_str':
openssl_version.c:(.text+0x3): undefined reference to `OpenSSL_version'

What is the lastest OpenSSL version supported by TITAN?

Thanks a lot,

Best Reagrds,

Yann
Re: OpenSSL 1.1.1.g not supported [message #1833030 is a reply to message #1833028] Thu, 01 October 2020 06:31 Go to previous messageGo to next message
Gábor Szalai is currently offline Gábor SzalaiFriend
Messages: 134
Registered: December 2015
Senior Member
Are you sure that the correct header files were used during the compilation?

The 1.1.1 (Sept 2018) and 1.1.1g (Apr 2020) are ABI compatible, so no recompilation is needed to use the newer libraries.

The error message indicates that the object file were compiled with the header files of the 1.0.1 or older but try to link with 1.1.0 or newer

Re: OpenSSL 1.1.1.g not supported [message #1833031 is a reply to message #1833030] Thu, 01 October 2020 06:58 Go to previous messageGo to next message
Yann Garcia is currently offline Yann GarciaFriend
Messages: 145
Registered: June 2016
Senior Member
Hello Gabor,

Yes, I'm sure:
yann@Linux:~/dev/TTF0002_Its/scripts$ grep -i OPENSSL_VERSION_TEXT /usr/include/openssl/opensslv.h
# define OPENSSL_VERSION_TEXT "OpenSSL 1.1.1g 21 Apr 2020"

Yann
Re: OpenSSL 1.1.1.g not supported [message #1833034 is a reply to message #1833031] Thu, 01 October 2020 07:32 Go to previous message
Yann Garcia is currently offline Yann GarciaFriend
Messages: 145
Registered: June 2016
Senior Member
Hello Gabor,

I found the issue: the links to the share libraries libssl.so and libcrypto.so were not updated by the 'sudo make install' command from openssl1.1.1g.
My apologies for the inconveniences,

Yann
Previous Topic:Request for an actual SUT with its TTCN-3 tests
Next Topic:Wrong decoding of matched / unmatched messages paths in log files
Goto Forum:
  


Current Time: Tue Sep 24 11:13:33 GMT 2024

Powered by FUDForum. Page generated in 0.03710 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top