{"action":"created","issue":{"url":"https://api.github.com/repos/flapdoodle-oss/de.flapdoodle.embed.mongo/issues/142","repository_url":"https://api.github.com/repos/flapdoodle-oss/de.flapdoodle.embed.mongo","labels_url":"https://api.github.com/repos/flapdoodle-oss/de.flapdoodle.embed.mongo/issues/142/labels{/name}","comments_url":"https://api.github.com/repos/flapdoodle-oss/de.flapdoodle.embed.mongo/issues/142/comments","events_url":"https://api.github.com/repos/flapdoodle-oss/de.flapdoodle.embed.mongo/issues/142/events","html_url":"https://github.com/flapdoodle-oss/de.flapdoodle.embed.mongo/issues/142","id":122558866,"number":142,"title":"Cannot run on NixOS","user":{"login":"a1russell","id":241628,"avatar_url":"https://avatars.githubusercontent.com/u/241628?v=3","gravatar_id":"","url":"https://api.github.com/users/a1russell","html_url":"https://github.com/a1russell","followers_url":"https://api.github.com/users/a1russell/followers","following_url":"https://api.github.com/users/a1russell/following{/other_user}","gists_url":"https://api.github.com/users/a1russell/gists{/gist_id}","starred_url":"https://api.github.com/users/a1russell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a1russell/subscriptions","organizations_url":"https://api.github.com/users/a1russell/orgs","repos_url":"https://api.github.com/users/a1russell/repos","events_url":"https://api.github.com/users/a1russell/events{/privacy}","received_events_url":"https://api.github.com/users/a1russell/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/flapdoodle-oss/de.flapdoodle.embed.mongo/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"michaelmosmann","id":323301,"avatar_url":"https://avatars.githubusercontent.com/u/323301?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelmosmann","html_url":"https://github.com/michaelmosmann","followers_url":"https://api.github.com/users/michaelmosmann/followers","following_url":"https://api.github.com/users/michaelmosmann/following{/other_user}","gists_url":"https://api.github.com/users/michaelmosmann/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelmosmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelmosmann/subscriptions","organizations_url":"https://api.github.com/users/michaelmosmann/orgs","repos_url":"https://api.github.com/users/michaelmosmann/repos","events_url":"https://api.github.com/users/michaelmosmann/events{/privacy}","received_events_url":"https://api.github.com/users/michaelmosmann/received_events","type":"User","site_admin":false},"milestone":null,"comments":10,"created_at":"2015-12-16T17:19:43Z","updated_at":"2016-03-21T20:54:00Z","closed_at":null,"body":"I'm on NixOS 15.09 stable, and trying to use this in one of my apps, I get this stacktrace:\r\n```\r\nExtract /home/user/.embedmongo/linux/mongodb-linux-x86_64-3.0.2.tgz START\r\nExtract /home/user/.embedmongo/linux/mongodb-linux-x86_64-3.0.2.tgz DONE\r\njava.io.IOException: Cannot run program \"/tmp/extract-5b9a453a-ee43-4572-9348-068c4706dcd0mongod\": error=2, No such file or directory\r\n\tat java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)\r\n\tat de.flapdoodle.embed.process.runtime.ProcessControl.start(ProcessControl.java:205)\r\n\tat de.flapdoodle.embed.process.runtime.AbstractProcess.<init>(AbstractProcess.java:98)\r\n\tat de.flapdoodle.embed.mongo.AbstractMongoProcess.<init>(AbstractMongoProcess.java:53)\r\n\tat de.flapdoodle.embed.mongo.MongodProcess.<init>(MongodProcess.java:50)\r\n\tat de.flapdoodle.embed.mongo.MongodExecutable.start(MongodExecutable.java:44)\r\n\tat de.flapdoodle.embed.mongo.MongodExecutable.start(MongodExecutable.java:34)\r\n\tat de.flapdoodle.embed.process.runtime.Executable.start(Executable.java:101)\r\n\t...\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:497)\r\n\tat cucumber.runtime.Utils$1.call(Utils.java:34)\r\n\tat cucumber.runtime.Timeout.timeout(Timeout.java:13)\r\n\tat cucumber.runtime.Utils.invoke(Utils.java:30)\r\n\tat cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:59)\r\n\tat cucumber.runtime.Runtime.runHookIfTagsMatch(Runtime.java:222)\r\n\tat cucumber.runtime.Runtime.runHooks(Runtime.java:210)\r\n\tat cucumber.runtime.Runtime.runBeforeHooks(Runtime.java:200)\r\n\tat cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:44)\r\n\tat cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:163)\r\n\tat cucumber.runtime.Runtime.run(Runtime.java:120)\r\n\tat cucumber.api.cli.Main.run(Main.java:36)\r\n\tat cucumber.api.cli.Main.main(Main.java:18)\r\nCaused by: java.io.IOException: error=2, No such file or directory\r\n\tat java.lang.UNIXProcess.forkAndExec(Native Method)\r\n\tat java.lang.UNIXProcess.<init>(UNIXProcess.java:248)\r\n\tat java.lang.ProcessImpl.start(ProcessImpl.java:134)\r\n\tat java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)\r\n\t... 28 more\r\n```\r\n\r\nThe file does exist:\r\n```\r\n$ ls -l /tmp/extract-5b9a453a-ee43-4572-9348-068c4706dcd0mongod \r\n-rwxr--r-- 1 user group 22335592 Dec 16 11:15 /tmp/extract-5b9a453a-ee43-4572-9348-068c4706dcd0mongod\r\n$ file /tmp/extract-5b9a453a-ee43-4572-9348-068c4706dcd0mongod \r\n/tmp/extract-5b9a453a-ee43-4572-9348-068c4706dcd0mongod: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.9, stripped\r\n$ uname -a\r\nLinux hostname 3.18.24 #1-NixOS SMP Thu Jan 1 00:00:01 UTC 1970 x86_64 GNU/Linux\r\n```\r\n\r\nThis is the source of the MongoDB package on NixOS: https://github.com/NixOS/nixpkgs/blob/release-15.09/pkgs/servers/nosql/mongodb/default.nix\r\n\r\nSo it seems like on my OS things need to be built from source.\r\n\r\nIs there any way to get this library to work with a system that isn't compatible with the pre-built, downloaded binary?"},"comment":{"url":"https://api.github.com/repos/flapdoodle-oss/de.flapdoodle.embed.mongo/issues/comments/199479632","html_url":"https://github.com/flapdoodle-oss/de.flapdoodle.embed.mongo/issues/142#issuecomment-199479632","issue_url":"https://api.github.com/repos/flapdoodle-oss/de.flapdoodle.embed.mongo/issues/142","id":199479632,"user":{"login":"a1russell","id":241628,"avatar_url":"https://avatars.githubusercontent.com/u/241628?v=3","gravatar_id":"","url":"https://api.github.com/users/a1russell","html_url":"https://github.com/a1russell","followers_url":"https://api.github.com/users/a1russell/followers","following_url":"https://api.github.com/users/a1russell/following{/other_user}","gists_url":"https://api.github.com/users/a1russell/gists{/gist_id}","starred_url":"https://api.github.com/users/a1russell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a1russell/subscriptions","organizations_url":"https://api.github.com/users/a1russell/orgs","repos_url":"https://api.github.com/users/a1russell/repos","events_url":"https://api.github.com/users/a1russell/events{/privacy}","received_events_url":"https://api.github.com/users/a1russell/received_events","type":"User","site_admin":false},"created_at":"2016-03-21T20:54:00Z","updated_at":"2016-03-21T20:54:00Z","body":"Thanks! Again I'll be glad to answer any questions."}}