{"action":"created","issue":{"url":"https://api.github.com/repos/caprica/vlcj/issues/313","labels_url":"https://api.github.com/repos/caprica/vlcj/issues/313/labels{/name}","comments_url":"https://api.github.com/repos/caprica/vlcj/issues/313/comments","events_url":"https://api.github.com/repos/caprica/vlcj/issues/313/events","html_url":"https://github.com/caprica/vlcj/issues/313","id":56911791,"number":313,"title":"Linux NativeLibrary.setSearchPath not working","user":{"login":"uyt95","id":7387051,"avatar_url":"https://avatars.githubusercontent.com/u/7387051?v=3","gravatar_id":"","url":"https://api.github.com/users/uyt95","html_url":"https://github.com/uyt95","followers_url":"https://api.github.com/users/uyt95/followers","following_url":"https://api.github.com/users/uyt95/following{/other_user}","gists_url":"https://api.github.com/users/uyt95/gists{/gist_id}","starred_url":"https://api.github.com/users/uyt95/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uyt95/subscriptions","organizations_url":"https://api.github.com/users/uyt95/orgs","repos_url":"https://api.github.com/users/uyt95/repos","events_url":"https://api.github.com/users/uyt95/events{/privacy}","received_events_url":"https://api.github.com/users/uyt95/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/caprica/vlcj/labels/Support","name":"Support","color":"0b02e1"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-07T13:48:07Z","updated_at":"2015-02-07T15:29:33Z","closed_at":"2015-02-07T15:29:33Z","body":"I'm using following line of code at the start of my program:\r\nNativeLibrary.addSearchPath(RuntimeUtil.getLibVlcLibraryName(), libpath);\r\nlibpath is a string with the path to the folder that contians libvlc, libvlccore and the plugins folder.\r\n\r\nBut when I run the program, following error:\r\nException in thread \"main\" java.lang.RuntimeException: Failed to load the native library.\r\nThe error was \"Unable to load library 'vlc' ...\r\n\r\nThe same program works fine on both 32 and 64 versions of Windows, but fails on Linux (Debian 64 bits version and Ubuntu 32 bits version).\r\nWhen VLC is installed, vlcj works fine but when it isn't it stops working on Linux.\r\nI included libvlc.so, libvlccore.so and the plugins folder in the folder that I set the searchpath to.\r\n\r\nDoes anybody have the same problem or a solution for this problem?\r\n"},"comment":{"url":"https://api.github.com/repos/caprica/vlcj/issues/comments/73368672","html_url":"https://github.com/caprica/vlcj/issues/313#issuecomment-73368672","issue_url":"https://api.github.com/repos/caprica/vlcj/issues/313","id":73368672,"user":{"login":"uyt95","id":7387051,"avatar_url":"https://avatars.githubusercontent.com/u/7387051?v=3","gravatar_id":"","url":"https://api.github.com/users/uyt95","html_url":"https://github.com/uyt95","followers_url":"https://api.github.com/users/uyt95/followers","following_url":"https://api.github.com/users/uyt95/following{/other_user}","gists_url":"https://api.github.com/users/uyt95/gists{/gist_id}","starred_url":"https://api.github.com/users/uyt95/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uyt95/subscriptions","organizations_url":"https://api.github.com/users/uyt95/orgs","repos_url":"https://api.github.com/users/uyt95/repos","events_url":"https://api.github.com/users/uyt95/events{/privacy}","received_events_url":"https://api.github.com/users/uyt95/received_events","type":"User","site_admin":false},"created_at":"2015-02-07T15:29:33Z","updated_at":"2015-02-07T15:29:33Z","body":"Ok, thank you for the explenation, I will look into your solution."}}