[MDEV-7799] tokudb fails to buld w/o zlib1g-dev Created: 2015-03-18  Updated: 2022-09-08

Status: Open
Project: MariaDB Server
Component/s: Compiling, Storage Engine - TokuDB
Affects Version/s: 5.5, 10.0
Fix Version/s: 5.5

Type: Bug Priority: Minor
Reporter: Sergei Golubchik Assignee: Sergei Golubchik
Resolution: Unresolved Votes: 0
Labels: None


 Description   

The error looks like

Linking CXX shared library libft.so
/usr/bin/ld: cannot find -lz
collect2: error: ld returned 1 exit status
make[2]: *** [storage/tokudb/ft-index/ft/libft.so] Error 1

probably this happens because storage/tokudb/ft-index/ft/CMakeLists.txt has the line

target_link_libraries(ft LINK_PUBLIC z)

while it should be using ZLIB_LIBRARY instead


Generated at Thu Feb 08 07:22:21 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.