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

Shared library not generated correctly on Apple #5

Open
BarrySmith opened this issue Feb 17, 2016 · 2 comments
Open

Shared library not generated correctly on Apple #5

BarrySmith opened this issue Feb 17, 2016 · 2 comments

Comments

@BarrySmith
Copy link
Contributor

The installed shared library libsuperlu.dylib does not have the correct rpath because you do not set CMAKE_INSTALL_NAME_DIR:STRING properly in CMakeList.txt

Current fix is for the user to provide it on the cmake command line
-DCMAKE_INSTALL_NAME_DIR:STRING=/installdirectory

@xiaoyeli
Copy link
Owner

What shall I set CMAKE_INSTALL_NAME_DIR:STRING=??? in CMakeLists.txt? I
googled quite a bit, the cmake document is not helpful for this item.
Someone posted this:
airspy/airspyone_host#15

Sherry

On Tue, Feb 16, 2016 at 4:25 PM, Barry Smith notifications@github.com
wrote:

The installed shared library libsuperlu.dylib does not have the correct
rpath because you do not set CMAKE_INSTALL_NAME_DIR:STRING properly in
CMakeList.txt

Current fix is for the user to provide it on the cmake command line
-DCMAKE_INSTALL_NAME_DIR:STRING=/installdirectory


Reply to this email directly or view it on GitHub
#5.

@BarrySmith
Copy link
Contributor Author

Yes the documentation on this for CMAKE is terrible.

This is what we put in the CMakeList.txt file for ParMetis to get it to work.

set(CMAKE_INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/lib")

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

2 participants