Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

librt not available on Mac OS #22

Open
gonium opened this issue Mar 21, 2014 · 0 comments
Open

librt not available on Mac OS #22

gonium opened this issue Mar 21, 2014 · 0 comments

Comments

@gonium
Copy link
Member

gonium commented Mar 21, 2014

Linking CXX executable klio-export /usr/local/bin/g++-4.8 -Wall -Wno-deprecated-declarations -Wall -Wno-non-virtual-dtor -g -fomit-frame-pointer -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/klio-export.dir/klio-export.cpp.o -o klio-export ../libklio/libklio.a /usr/local/lib/libboost_test_exec_monitor-mt.a /usr/local/lib/libboost_program_options-mt.a /usr/local/lib/libboost_filesystem-mt.a /usr/local/lib/libboost_system-mt.a /usr/local/lib/libboost_date_time-mt.a /usr/lib/libsqlite3.dylib /usr/local/lib/libboost_test_exec_monitor-mt.a /usr/local/lib/libboost_program_options-mt.a /usr/local/lib/libboost_filesystem-mt.a /usr/local/lib/libboost_system-mt.a /usr/local/lib/libboost_date_time-mt.a /usr/local/lib/libjson.a -lrt /usr/lib/libcrypto.dylib ld: library not found for -lrt

On OSX 10.9, librt is not available. The offending library is statically requested in these modules:

$ grep 'lrt' modules/* FindJson.cmake: list(APPEND JSON_LIBRARY "-lrt") FindRocksDB.cmake: list(APPEND ROCKSDB_LIBRARY "-lrt")

Please replace this by a clean detection method. See #a9fcb22.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant