hyrise: jemalloc linking problem on macOS?
After getting the latest master, hyriseTest and hyriseConsole report:
dyld: Library not loaded: /usr/local/lib/libjemalloc.2.dylib
Referenced from: /Users/jan/Coding/hyrise_alter/./cmake-build-debug/hyriseTest
Reason: image not found
[1] 89422 abort ./cmake-build-debug/hyriseTest
when executed on macOS. This does also happen on a freshly checkout version.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 18 (15 by maintainers)
Argh. Could you open a PR and change that to
false
?You need it to build jemalloc. When it’s not there, the configure step of the jemalloc target doesn’t produce a Makefile, and the build step complains about that. For some reason though, it still then reports that the target
libjemalloc-build
has been built.But you should see something like this in your output:
The same happens on a Linux system when autoconf is not present, building everything but the jemalloc lib, and in the end failing with: