From 27013d88c21e39e5fe74dfbbfebafa802962c128 Mon Sep 17 00:00:00 2001 From: Ilya Konyukhov Date: Wed, 20 Jan 2021 22:33:10 +0600 Subject: [PATCH] Add a note about building static module There were lots of problems with compiling static build for use with static tarantool. The main reason were symbols not found in tarantool executable. Frequently it was openssl. Since 1.1 version symbols has been renamed. So it is important to build static kafka against the same version as tarantool does. --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 903bc7a..329ea45 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,13 @@ To install kafka module with builtin librdkafka dependency, use option `STATIC_B tarantoolctl rocks STATIC_BUILD=ON install kafka ``` +Be aware, that this approach doesn't include static openssl. +Instead, it assumes tarantool has openssl symbols exported. +That means, kafka static build is only usable with static tarantool build. + +For successful static build you need to compile kafka +against the [same version of openssl](https://github.com/tarantool/tarantool/blob/800e5ed617f7cd352ec597ce16973c7e4cad76c8/static-build/CMakeLists.txt#L11) that tarantool does. + ## Usage Consumer