[MDEV-7454] Tests fail on RHEL-6 because libmytap.so is not found Created: 2015-01-14 Updated: 2022-11-20 Resolved: 2022-11-20 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Tests |
| Affects Version/s: | 10.0.15 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Minor |
| Reporter: | Honza Horak | Assignee: | Sergei Golubchik |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Linux, RHEL-6 |
||
| Description |
|
running `make test` fails with errors like:
and so on. running `/usr/bin/ctest --force-new-ctest-process --verbose` showed me errors like:
After analysing build log I see difference between RHEL-6 and Fedora such as there is the following rpath definition more on Fedora when building strings-t binary (one of the unittests):
and that is also reason why tests pass on Fedora. My workaround for allowing the test binaries to find mytap library also works:
RHEL-6 includes cmake-2.6.4 and Fedora 21 includes cmake-3.0.2, but since it works fine in 5.5.x I guess it should be possible to fix it in CMake configs somehow. But my knowledge of CMake is not good enough to provide a patch. |
| Comments |
| Comment by Sergei Golubchik [ 2022-11-20 ] |
|
RHEL6 has reached EOL in 2020. |