[MDEV-15932] Build with lz4 cannot be forced off Created: 2018-04-19 Updated: 2019-05-10 Resolved: 2019-04-30 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Compiling, Embedded Server |
| Affects Version/s: | 10.2.14 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Michal Schorm | Assignee: | Vladislav Vaintroub |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Fedora |
||
| Attachments: |
|
| Description |
|
Hello, I tried to build MariaDB with lz4-devel package in the buildroot, but saying either
– The build will either say "LZ4_LIBS set to NOTFOUND" or compile with "-DLZ4", thus atleast two parts will end up with "Requires: liblz4.so.1()" – Fedora sources can be found - as usual - here: |
| Comments |
| Comment by Vladislav Vaintroub [ 2019-04-30 ] | ||
|
mschorm, Do you have a following situation
Is this a correct description? I'd like to avoid diving into Fedora official packaging, buildroots and what not | ||
| Comment by Vladislav Vaintroub [ 2019-04-30 ] | ||
|
use -DWITH_INNODB_LZ4=OFF -DWITH_ROCKSDB_LZ4=OFF Tip: could have revealed the variables in question. | ||
| Comment by Michal Schorm [ 2019-05-10 ] | ||
|
I moved from original 10.2.14 to 10.3.12 I found both a solution an another issue. The issue:
Only the case when you also define "LZ4_LIBS" as an empty string, combined with your solution, will result into complete fix of the original issue. Please, take a brief look at the mroonga error, to verify, if it's another issue uncovered, or not. Thanks | ||
| Comment by Vladislav Vaintroub [ 2019-05-10 ] | ||
|
I usually do not build with moronga groonga, but f I do, I have this in the output of cmake -LH | grep LZ4
A brief research (git grep GRN_WITH_LZ4) reveals that it LZ4 is not used if you set So why it is an error? |