Skip to content
Snippets Groups Projects
Commit c64e672e authored by Dmitry Ivanov's avatar Dmitry Ivanov Committed by Maksim Kaitmazian
Browse files

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.
parent 61f252ec
No related branches found
No related tags found
1 merge request!920pgproto module
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment