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

OS X: Fails to locate dylib files #97

Closed
seankerr opened this issue Sep 21, 2014 · 2 comments
Closed

OS X: Fails to locate dylib files #97

seankerr opened this issue Sep 21, 2014 · 2 comments
Assignees

Comments

@seankerr
Copy link

The assumption for dylib files is that they reside in /opt/local/lib. Once symlinked to /usr/local/lib, GtkD runs properly.

object.Exception@../../.dub/packages/gtk-d-master/src/gtkc/Loader.d(123): Library load failed: /opt/local/lib/libgtk-3.0.dylib

object.Exception@../../.dub/packages/gtk-d-master/src/gtkc/Loader.d(123): Library load failed: /opt/local/lib/libglib-2.0.dylib

@MikeWey
Copy link
Member

MikeWey commented Sep 23, 2014

Could we do the same thine we do on Linux?

Don't load from a specific path, but assume the path in which the libraries reside are in ld.so.conf (or the OSX equivalent).

@MikeWey
Copy link
Member

MikeWey commented Nov 28, 2014

The mac man page indicates that dlopen searches in paths specified in the $DYLD_LIBRARY_PATH environment variable.

So that would be a yes to my question.

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

No branches or pull requests

2 participants