Skip to content

fix(build): disregard tarantool's bundled openssl

Summary

  • fix(build): disregard tarantool's bundled openssl

By default, tarantool submodule is built and linked against its bundled version of openssl (1.1.1q). This causes issues when we try to link against the host system's shared openssl of a different version (e.g. 3.0):

= note: /usr/bin/ld: target/debug/build/tarantool-sys/static/tarantool-prefix/src/tarantool-build/src/lib/crypto/libtcrypto.a(crypto.c.o): in function `crypto_stream_begin':
          tarantool-sys/src/lib/crypto/crypto.c:154:(.text+0x841): undefined reference to `EVP_CIPHER_key_length'
          /usr/bin/ld: tarantool-sys/src/lib/crypto/crypto.c:160:(.text+0x852): undefined reference to `EVP_CIPHER_iv_length'

Thus, we should pass -DENABLE_BUNDLED_OPENSSL=OFF to properly configure tarantool and prevent missing symbols from occurring.

Merge request reports