Using Elektron SDK1.3.0 and we would like to link to libRFA.a and librssl.a form the ETA in a sin...

stevek
stevek Newcomer

...gle executable. However, we are expecting names clashes. Can you please tell us if there's a safe way of doing this and if it's possible at all? Thank you.

We are using Elektron SDK1.3.0 and we would like to link to libRFA.a and librssl.a form the ETA in a single executable. However, we are expecting names clashes. Can you please tell us if there's a safe way of doing this and if it's possible at all? Thank you.

Best Answer

  • Jirapongse
    Jirapongse ✭✭✭✭✭
    Answer ✓

    The underlying API
    used by RFA C++ is ETA (RSSL) and the ETA (RSSL) is statically linked into the
    RFA C++ library.

    Therefore, the
    application is unable to statically link both libRFA.a and librssl.a into a
    single executable. Moreover, the version of ETA (RSSL) used by the Elektron SDK
    is newer than the version of ETA (RSSL) used in the RFA C++ library. The workaround is using the shared libraries
    instead.