{"action":"created","issue":{"url":"https://api.github.com/repos/bytedeco/javacpp-presets/issues/228","repository_url":"https://api.github.com/repos/bytedeco/javacpp-presets","labels_url":"https://api.github.com/repos/bytedeco/javacpp-presets/issues/228/labels{/name}","comments_url":"https://api.github.com/repos/bytedeco/javacpp-presets/issues/228/comments","events_url":"https://api.github.com/repos/bytedeco/javacpp-presets/issues/228/events","html_url":"https://github.com/bytedeco/javacpp-presets/issues/228","id":156163677,"number":228,"title":"javacpp-presets caffe rc3-1.2 for macosx doesn't load native library","user":{"login":"bisher3","id":5383220,"avatar_url":"https://avatars.githubusercontent.com/u/5383220?v=3","gravatar_id":"","url":"https://api.github.com/users/bisher3","html_url":"https://github.com/bisher3","followers_url":"https://api.github.com/users/bisher3/followers","following_url":"https://api.github.com/users/bisher3/following{/other_user}","gists_url":"https://api.github.com/users/bisher3/gists{/gist_id}","starred_url":"https://api.github.com/users/bisher3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bisher3/subscriptions","organizations_url":"https://api.github.com/users/bisher3/orgs","repos_url":"https://api.github.com/users/bisher3/repos","events_url":"https://api.github.com/users/bisher3/events{/privacy}","received_events_url":"https://api.github.com/users/bisher3/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bytedeco/javacpp-presets/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-22T17:48:20Z","updated_at":"2016-05-22T23:55:52Z","closed_at":null,"body":"Using 1.2 version of javacpp-presets on mac os by either manually adding the jar `caffe-macosx-x86_64.jar `and its dependencies to the build path OR using \r\n```\r\n<dependency>\r\n\t<groupId>org.bytedeco.javacpp-presets</groupId>\r\n\t<artifactId>caffe</artifactId>\r\n\t<version>rc3-1.2</version>\r\n</dependency>\r\n```\r\n\r\nresults in \"Exception in thread \"main\" java.lang.UnsatisfiedLinkError: no jnicaffe in java.library.path\".\r\nBy manually extracting the native libs within the jar : \r\n**libcaffe.so.1.0.0-rc3  libjnicaffe.dylib**\r\n\r\nand then running otool -L on the dylib I get:\r\n```\r\notool -L libjnicaffe.dylib \r\nlibjnicaffe.dylib:\r\n\tlibjnicaffe.dylib (compatibility version 0.0.0, current version 0.0.0)\r\n\tlibcaffe.so.1.0.0-rc3 (compatibility version 0.0.0, current version 0.0.0)\r\n\t@rpath/libopencv_highgui.3.1.dylib (compatibility version 3.1.0, current version 3.1.0)\r\n\t@rpath/libopencv_videoio.3.1.dylib (compatibility version 3.1.0, current version 3.1.0)\r\n\t@rpath/libopencv_imgcodecs.3.1.dylib (compatibility version 3.1.0, current version 3.1.0)\r\n\t@rpath/libopencv_imgproc.3.1.dylib (compatibility version 3.1.0, current version 3.1.0)\r\n\t@rpath/libopencv_core.3.1.dylib (compatibility version 3.1.0, current version 3.1.0)\r\n\t/System/Library/Frameworks/JavaVM.framework/Versions/A/JavaVM (compatibility version 1.0.0, current version 1.0.0)\r\n\t/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 120.0.0)\r\n\t/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1213.0.0)\r\n```\r\n\r\nWhich shows that the `libcaffe.so.1.0.0-rc3` is referenced without `@rpath` which I'm suspecting should be there just like it was in the previous verison (master-1.1)"},"comment":{"url":"https://api.github.com/repos/bytedeco/javacpp-presets/issues/comments/220864467","html_url":"https://github.com/bytedeco/javacpp-presets/issues/228#issuecomment-220864467","issue_url":"https://api.github.com/repos/bytedeco/javacpp-presets/issues/228","id":220864467,"user":{"login":"saudet","id":3328023,"avatar_url":"https://avatars.githubusercontent.com/u/3328023?v=3","gravatar_id":"","url":"https://api.github.com/users/saudet","html_url":"https://github.com/saudet","followers_url":"https://api.github.com/users/saudet/followers","following_url":"https://api.github.com/users/saudet/following{/other_user}","gists_url":"https://api.github.com/users/saudet/gists{/gist_id}","starred_url":"https://api.github.com/users/saudet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saudet/subscriptions","organizations_url":"https://api.github.com/users/saudet/orgs","repos_url":"https://api.github.com/users/saudet/repos","events_url":"https://api.github.com/users/saudet/events{/privacy}","received_events_url":"https://api.github.com/users/saudet/received_events","type":"User","site_admin":false},"created_at":"2016-05-22T23:55:52Z","updated_at":"2016-05-22T23:55:52Z","body":"I haven't changed much in that regards since 1.1, but if you could create a patch for that, it would be most welcome!"}}
{"actor":{"display_login":"saudet"}}