{"action":"opened","issue":{"url":"https://api.github.com/repos/twadleigh/jlcall/issues/7","labels_url":"https://api.github.com/repos/twadleigh/jlcall/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/twadleigh/jlcall/issues/7/comments","events_url":"https://api.github.com/repos/twadleigh/jlcall/issues/7/events","html_url":"https://github.com/twadleigh/jlcall/issues/7","id":110245296,"number":7,"title":"Augment `LD_RUN_PATH` at runtime on *nix.","user":{"login":"twadleigh","id":1570926,"avatar_url":"https://avatars.githubusercontent.com/u/1570926?v=3","gravatar_id":"","url":"https://api.github.com/users/twadleigh","html_url":"https://github.com/twadleigh","followers_url":"https://api.github.com/users/twadleigh/followers","following_url":"https://api.github.com/users/twadleigh/following{/other_user}","gists_url":"https://api.github.com/users/twadleigh/gists{/gist_id}","starred_url":"https://api.github.com/users/twadleigh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twadleigh/subscriptions","organizations_url":"https://api.github.com/users/twadleigh/orgs","repos_url":"https://api.github.com/users/twadleigh/repos","events_url":"https://api.github.com/users/twadleigh/events{/privacy}","received_events_url":"https://api.github.com/users/twadleigh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-07T15:01:57Z","updated_at":"2015-10-07T15:01:57Z","closed_at":null,"body":"In https://github.com/twadleigh/jlcall/issues/2#issuecomment-146190337 @bermanmaxim says:\r\n\r\n> Correction: apparently it is the setenv('LD_RUN_PATH', '/home/maxim/julia/lib/julia'); command that really helped, not LD_LIBRARY_PATH... And I have to set it at each new instantiation of Matlab for it to work.\r\n> I added this LD_RUN_PATH definition to the initialization of the Jl class, and it conveniently works.\r\n\r\nOn windows, the analogous thing is achieved by adding `julia_bin_dir` to the system PATH. (Windows uses the same path for executables and shared libraries.) We need to provide the right analogous handling for POSIX systems."}}