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

CGAL ipelets #217

Open
otfried opened this Issue Feb 17, 2019 · 2 comments

Comments

Projects
None yet
1 participant
@otfried
Copy link
Owner

otfried commented Feb 17, 2019

Check linkage or how to set environment variable to support them.

export DYLD_LIBRARY_PATH=$CGAL_DIR/lib

@otfried otfried added the enhancement label Feb 17, 2019

@otfried otfried self-assigned this Feb 17, 2019

@otfried

This comment has been minimized.

Copy link
Owner Author

otfried commented Feb 27, 2019

In 7.2.11, you can create ~/.ipe/ipe.conf and put this inside:

DYLD_LIBRARY_PATH=$CGAL_DIR/lib

Well, you'll have to expand $CGAL_DIR.

@otfried

This comment has been minimized.

Copy link
Owner Author

otfried commented Mar 2, 2019

It turns out that setting DYLD_LIBRARY_PATH from inside Ipe does not work - the integrity protection on OSX stops this from being picked up by dlopen.

The easiest solution to the problem is to make a dynamic link from $HOME/lib to the directory containing the CGAL libraries. $HOME/lib is searched by dlopen by default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.