{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/5045","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/5045/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/5045/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/5045/events","html_url":"https://github.com/JuliaLang/julia/pull/5045","id":23901755,"number":5045,"title":"Add function to get libjulia path at runtime","user":{"login":"tknopp","id":3109172,"avatar_url":"https://avatars.githubusercontent.com/u/3109172?v=3","gravatar_id":"","url":"https://api.github.com/users/tknopp","html_url":"https://github.com/tknopp","followers_url":"https://api.github.com/users/tknopp/followers","following_url":"https://api.github.com/users/tknopp/following{/other_user}","gists_url":"https://api.github.com/users/tknopp/gists{/gist_id}","starred_url":"https://api.github.com/users/tknopp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tknopp/subscriptions","organizations_url":"https://api.github.com/users/tknopp/orgs","repos_url":"https://api.github.com/users/tknopp/repos","events_url":"https://api.github.com/users/tknopp/events{/privacy}","received_events_url":"https://api.github.com/users/tknopp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2013-12-07T08:04:39Z","updated_at":"2015-01-09T21:29:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/JuliaLang/julia/pulls/5045","html_url":"https://github.com/JuliaLang/julia/pull/5045","diff_url":"https://github.com/JuliaLang/julia/pull/5045.diff","patch_url":"https://github.com/JuliaLang/julia/pull/5045.patch"},"body":"This adds a function \"jl_get_libjulia_path\" that gives the path of the libjulia library at runtime.\r\n\r\nI would propose that this path should be the first location where the sys.ji (or sys.so in the future) is searched (in jl_init and repl.c). Once the static compilation branch is merged I can make a PR for changes in jl_init and repl.c\r\n\r\nIn this PR only the addition of the function is included."},"comment":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/comments/69402015","html_url":"https://github.com/JuliaLang/julia/pull/5045#issuecomment-69402015","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/5045","id":69402015,"user":{"login":"stevengj","id":2913679,"avatar_url":"https://avatars.githubusercontent.com/u/2913679?v=3","gravatar_id":"","url":"https://api.github.com/users/stevengj","html_url":"https://github.com/stevengj","followers_url":"https://api.github.com/users/stevengj/followers","following_url":"https://api.github.com/users/stevengj/following{/other_user}","gists_url":"https://api.github.com/users/stevengj/gists{/gist_id}","starred_url":"https://api.github.com/users/stevengj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevengj/subscriptions","organizations_url":"https://api.github.com/users/stevengj/orgs","repos_url":"https://api.github.com/users/stevengj/repos","events_url":"https://api.github.com/users/stevengj/events{/privacy}","received_events_url":"https://api.github.com/users/stevengj/received_events","type":"User","site_admin":false},"created_at":"2015-01-09T21:29:05Z","updated_at":"2015-01-09T21:29:05Z","body":"@JeffBezanson's comment in #7801 seems relevant here.  If Julia can tell you the path you need, why not just fix it so that `jl_init` finds the correct image file using this path?"}}