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

RPATH issue on Fedora 27 amd64 #86

Open
mandree opened this issue Mar 24, 2018 · 0 comments
Open

RPATH issue on Fedora 27 amd64 #86

mandree opened this issue Mar 24, 2018 · 0 comments

Comments

@mandree
Copy link

mandree commented Mar 24, 2018

Greetings,

compiling and installing glyr OOTB from Git on Fedora 27 with cmake mostly at the default settings ends up with the library (.so) under /usr/local/lib, and the cmake-typical empty RPATH.

So glyrc does not find its library.

The fix for me is to add this line to CMakeLists.txt:

SET(CMAKE_INSTALL_RPATH "\$ORIGIN/../${INSTALL_LIB_DIR}")

This may be Linux/glibc specific as it relies on ld.so understanding the $ORIGIN token.

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