{"action":"created","issue":{"url":"https://api.github.com/repos/hellonico/origami/issues/4","repository_url":"https://api.github.com/repos/hellonico/origami","labels_url":"https://api.github.com/repos/hellonico/origami/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/hellonico/origami/issues/4/comments","events_url":"https://api.github.com/repos/hellonico/origami/issues/4/events","html_url":"https://github.com/hellonico/origami/issues/4","id":314494567,"number":4,"title":"libjpeg missing?","user":{"login":"geokon-gh","id":21017379,"avatar_url":"https://avatars1.githubusercontent.com/u/21017379?v=4","gravatar_id":"","url":"https://api.github.com/users/geokon-gh","html_url":"https://github.com/geokon-gh","followers_url":"https://api.github.com/users/geokon-gh/followers","following_url":"https://api.github.com/users/geokon-gh/following{/other_user}","gists_url":"https://api.github.com/users/geokon-gh/gists{/gist_id}","starred_url":"https://api.github.com/users/geokon-gh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geokon-gh/subscriptions","organizations_url":"https://api.github.com/users/geokon-gh/orgs","repos_url":"https://api.github.com/users/geokon-gh/repos","events_url":"https://api.github.com/users/geokon-gh/events{/privacy}","received_events_url":"https://api.github.com/users/geokon-gh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-04-16T04:06:36Z","updated_at":"2018-04-16T15:03:54Z","closed_at":null,"author_association":"NONE","body":"Following your installation instructions I get the following error at the last step:\r\n```\r\n$lein run \r\nOpenJDK 64-Bit Server VM warning: You have loaded library /media/gk/USB_DRIVE/Projects/origami-test/target/native/linux/x86_64/libopencv_java331.so which might have disabled stack guard. The VM will try to fix the stack guard now.\r\nIt's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.\r\nException in thread \"main\" java.lang.UnsatisfiedLinkError: /media/gk/USB_DRIVE/Projects/origami-test/target/native/linux/x86_64/libopencv_java331.so: libjpeg.so.8: cannot open shared object file: No such file or directory, compiling:(/tmp/form-init6812121234660478586.clj:1:73)\r\n        at clojure.lang.Compiler.load(Compiler.java:7391)\r\n        at clojure.lang.Compiler.loadFile(Compiler.java:7317)\r\n        at clojure.main$load_script.invokeStatic(main.clj:275)\r\n        at clojure.main$init_opt.invokeStatic(main.clj:277)\r\n        at clojure.main$init_opt.invoke(main.clj:277)\r\n        at clojure.main$initialize.invokeStatic(main.clj:308)\r\n        at clojure.main$null_opt.invokeStatic(main.clj:342)\r\n        at clojure.main$null_opt.invoke(main.clj:339)\r\n        at clojure.main$main.invokeStatic(main.clj:421)\r\n        at clojure.main$main.doInvoke(main.clj:384)\r\n        at clojure.lang.RestFn.invoke(RestFn.java:421)\r\n        at clojure.lang.Var.invoke(Var.java:383)\r\n        at clojure.lang.AFn.applyToHelper(AFn.java:156)\r\n        at clojure.lang.Var.applyTo(Var.java:700)\r\n        at clojure.main.main(main.java:37)\r\nCaused by: java.lang.UnsatisfiedLinkError: /media/gk/USB_DRIVE/Projects/origami-test/target/native/linux/x86_64/libopencv_java331.so: libjpeg.so.8: cannot open shared object file: No such file or directory\r\n        at java.lang.ClassLoader$NativeLibrary.load(Native Method)\r\n        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)\r\n        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1857)\r\n        at java.lang.Runtime.loadLibrary0(Runtime.java:870)\r\n        at java.lang.System.loadLibrary(System.java:1122)\r\n        at clojure.lang.RT.loadLibrary(RT.java:495)\r\n        at user$eval5.invokeStatic(form-init6812121234660478586.clj:1)\r\n        at user$eval5.invoke(form-init6812121234660478586.clj:1)\r\n        at clojure.lang.Compiler.eval(Compiler.java:6927)\r\n        at clojure.lang.Compiler.eval(Compiler.java:6916)\r\n        at clojure.lang.Compiler.load(Compiler.java:7379)\r\n        ... 14 more\r\n\r\n```\r\nI have libjpeg-dev installed. I'm runnong on Debian-testing\r\n\r\nI'm just starting with Clojure, so I'm not sure how to diagnose the problem. I don't really understand how it works and why all the resources are downloaded during `lein run` and where the `/src/` folder is\r\n\r\nCan this library work if I just have a vanilla app `lein new app my-origami-app` and then I add \r\n```\r\n:dependencies [\r\n [org.clojure/clojure \"1.8.0\"]\r\n [origami \"0.1.10\"]]\r\n```\r\nOr do I need this gorilla stuff and whatnot? Sorry if these are basic questions - I'm just getting started and your library looks great :)"},"comment":{"url":"https://api.github.com/repos/hellonico/origami/issues/comments/381634354","html_url":"https://github.com/hellonico/origami/issues/4#issuecomment-381634354","issue_url":"https://api.github.com/repos/hellonico/origami/issues/4","id":381634354,"user":{"login":"geokon-gh","id":21017379,"avatar_url":"https://avatars1.githubusercontent.com/u/21017379?v=4","gravatar_id":"","url":"https://api.github.com/users/geokon-gh","html_url":"https://github.com/geokon-gh","followers_url":"https://api.github.com/users/geokon-gh/followers","following_url":"https://api.github.com/users/geokon-gh/following{/other_user}","gists_url":"https://api.github.com/users/geokon-gh/gists{/gist_id}","starred_url":"https://api.github.com/users/geokon-gh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geokon-gh/subscriptions","organizations_url":"https://api.github.com/users/geokon-gh/orgs","repos_url":"https://api.github.com/users/geokon-gh/repos","events_url":"https://api.github.com/users/geokon-gh/events{/privacy}","received_events_url":"https://api.github.com/users/geokon-gh/received_events","type":"User","site_admin":false},"created_at":"2018-04-16T15:03:54Z","updated_at":"2018-04-16T15:03:54Z","author_association":"NONE","body":"I still have essentially the same issue: \r\n\r\n```\r\nStarting nREPL server via /usr/bin/lein update-in :dependencies conj \\[org.clojure/tools.nrepl\\ \\\"0.2.13\\\"\\ \\:exclusions\\ \\[org.clojure/clojure\\]\\] -- update-in :plugins conj \\[cider/cider-nrepl\\ \\\"0.17.0-SNAPSHOT\\\"\\] -- repl :headless :host ::...\r\nYou can run the command ‘cider-jack-in’ with C-c M-j\r\nStarting nREPL server via /usr/bin/lein update-in :dependencies conj \\[org.clojure/tools.nrepl\\ \\\"0.2.13\\\"\\ \\:exclusions\\ \\[org.clojure/clojure\\]\\] -- update-in :plugins conj \\[cider/cider-nrepl\\ \\\"0.17.0-SNAPSHOT\\\"\\] -- repl :headless :host ::...\r\nerror in process sentinel: nrepl-server-sentinel: Could not start nREPL server: Exception in thread \"main\" java.lang.UnsatisfiedLinkError: /home/gk/TestingArea/origami-simple/target/native/linux/x86_64/libopencv_java331.so: libopencv_core.so.3.3: cannot open shared object file: No such file or directory, compiling:(/tmp/form-init3811763440914736472.clj:1:73)\r\n\tat clojure.lang.Compiler.load(Compiler.java:7391)\r\n\tat clojure.lang.Compiler.loadFile(Compiler.java:7317)\r\n\tat clojure.main$load_script.invokeStatic(main.clj:275)\r\n\tat clojure.main$init_opt.invokeStatic(main.clj:277)\r\n\tat clojure.main$init_opt.invoke(main.clj:277)\r\n\tat clojure.main$initialize.invokeStatic(main.clj:308)\r\n\tat clojure.main$null_opt.invokeStatic(main.clj:342)\r\n\tat clojure.main$null_opt.invoke(main.clj:339)\r\n\tat clojure.main$main.invokeStatic(main.clj:421)\r\n\tat clojure.main$main.doInvoke(main.clj:384)\r\n\tat clojure.lang.RestFn.invoke(RestFn.java:421)\r\n\tat clojure.lang.Var.invoke(Var.java:383)\r\n\tat clojure.lang.AFn.applyToHelper(AFn.java:156)\r\n\tat clojure.lang.Var.applyTo(Var.java:700)\r\n\tat clojure.main.main(main.java:37)\r\nCaused by: java.lang.UnsatisfiedLinkError: /home/gk/TestingArea/origami-simple/target/native/linux/x86_64/libopencv_java331.so: libopencv_core.so.3.3: cannot open shared object file: No such file or directory\r\n\tat java.lang.ClassLoader$NativeLibrary.load(Native Method)\r\n\tat java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)\r\n\tat java.lang.ClassLoader.loadLibrary(ClassLoader.java:1857)\r\n\tat java.lang.Runtime.loadLibrary0(Runtime.java:870)\r\n\tat java.lang.System.loadLibrary(System.java:1122)\r\n\tat clojure.lang.RT.loadLibrary(RT.java:495)\r\n\tat user$eval1662.invokeStatic(form-init3811763440914736472.clj:1)\r\n\tat user$eval1662.invoke(form-init3811763440914736472.clj:1)\r\n\tat clojure.lang.Compiler.eval(Compiler.java:6927)\r\n\tat clojure.lang.Compiler.eval(Compiler.java:6916)\r\n\tat clojure.lang.Compiler.load(Compiler.java:7379)\r\n\t... 14 more\r\nSubprocess failed\r\n\r\nerror in process sentinel: Could not start nREPL server: Exception in thread \"main\" java.lang.UnsatisfiedLinkError: /home/gk/TestingArea/origami-simple/target/native/linux/x86_64/libopencv_java331.so: libopencv_core.so.3.3: cannot open shared object file: No such file or directory, compiling:(/tmp/form-init3811763440914736472.clj:1:73)\r\n\tat clojure.lang.Compiler.load(Compiler.java:7391)\r\n\tat clojure.lang.Compiler.loadFile(Compiler.java:7317)\r\n\tat clojure.main$load_script.invokeStatic(main.clj:275)\r\n\tat clojure.main$init_opt.invokeStatic(main.clj:277)\r\n\tat clojure.main$init_opt.invoke(main.clj:277)\r\n\tat clojure.main$initialize.invokeStatic(main.clj:308)\r\n\tat clojure.main$null_opt.invokeStatic(main.clj:342)\r\n\tat clojure.main$null_opt.invoke(main.clj:339)\r\n\tat clojure.main$main.invokeStatic(main.clj:421)\r\n\tat clojure.main$main.doInvoke(main.clj:384)\r\n\tat clojure.lang.RestFn.invoke(RestFn.java:421)\r\n\tat clojure.lang.Var.invoke(Var.java:383)\r\n\tat clojure.lang.AFn.applyToHelper(AFn.java:156)\r\n\tat clojure.lang.Var.applyTo(Var.java:700)\r\n\tat clojure.main.main(main.java:37)\r\nCaused by: java.lang.UnsatisfiedLinkError: /home/gk/TestingArea/origami-simple/target/native/linux/x86_64/libopencv_java331.so: libopencv_core.so.3.3: cannot open shared object file: No such file or directory\r\n\tat java.lang.ClassLoader$NativeLibrary.load(Native Method)\r\n\tat java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)\r\n\tat java.lang.ClassLoader.loadLibrary(ClassLoader.java:1857)\r\n\tat java.lang.Runtime.loadLibrary0(Runtime.java:870)\r\n\tat java.lang.System.loadLibrary(System.java:1122)\r\n\tat clojure.lang.RT.loadLibrary(RT.java:495)\r\n\tat user$eval1662.invokeStatic(form-init3811763440914736472.clj:1)\r\n\tat user$eval1662.invoke(form-init3811763440914736472.clj:1)\r\n\tat clojure.lang.Compiler.eval(Compiler.java:6927)\r\n\tat clojure.lang.Compiler.eval(Compiler.java:6916)\r\n\tat clojure.lang.Compiler.load(Compiler.java:7379)\r\n\t... 14 more\r\nSubprocess failed\r\n```\r\nBut I am running : Debian testing buster x86_64 Linux 4.13.0-1-amd64\r\n\r\nSo maybe it's a different glibc version or some issue like that. Maybe it'd be easier in the longer term to setup Maven/Lein  to just build OpenCV through CMake? It'd be a slower to build everything - but it'd be a bit more fool proof"}}
{"actor":{"display_login":"geokon-gh"}}