[MDEV-18818] mariadb_config reports wrong name for zlib on Fedora Created: 2019-03-05 Updated: 2021-06-29 Resolved: 2020-09-03 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Compiling, Scripts & Clients |
| Affects Version/s: | 10.3.13 |
| Fix Version/s: | 10.2.35, 10.3.26, 10.4.16, 10.5.7 |
| Type: | Bug | Priority: | Major |
| Reporter: | Daniël van Eeden | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Fedora 29 on x86_64 |
||
| Issue Links: |
|
||||||||
| Description |
|
Binary tarball: mariadb-10.2.21-linux-glibc_214-x86_64.tar.gz /path/to/mariadb_config --libs returns "-lzlib" which doesn't work on Fedora. This together with |
| Comments |
| Comment by Daniël van Eeden [ 2019-03-05 ] | ||||||||||||||||
|
| ||||||||||||||||
| Comment by Daniël van Eeden [ 2019-03-05 ] | ||||||||||||||||
|
| ||||||||||||||||
| Comment by Daniël van Eeden [ 2019-03-05 ] | ||||||||||||||||
|
Note that a recent version of Connector/C compiled on the same machine does work just fine:
Note the "-lz" | ||||||||||||||||
| Comment by Georg Richter [ 2020-09-03 ] | ||||||||||||||||
|
After checking https://buildbot.askmonty.org/buildbot/builders/kvm-bintar-centos7-amd64-openssl/builds/1873/steps/compile/logs/stdio it seems that the build uses bundled zlib, sets ZLIB_FOUND and ZLIB_LIBRARY and then builds Connector/C with -DWITH_EXTERNAL_ZLIB=ON which doesn't make sense. | ||||||||||||||||
| Comment by Georg Richter [ 2020-09-03 ] | ||||||||||||||||
|
Fixed in Connector/C
|