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

Comments

Projects
None yet
2 participants
@seankerr

seankerr commented Sep 21, 2014

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

This comment has been minimized.

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

This comment has been minimized.

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.

@MikeWey MikeWey self-assigned this Nov 28, 2014

@MikeWey MikeWey closed this in f6ca2d5 Nov 29, 2014

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