{"action":"created","issue":{"url":"https://api.github.com/repos/akopytov/sysbench/issues/5","labels_url":"https://api.github.com/repos/akopytov/sysbench/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/akopytov/sysbench/issues/5/comments","events_url":"https://api.github.com/repos/akopytov/sysbench/issues/5/events","html_url":"https://github.com/akopytov/sysbench/issues/5","id":91608242,"number":5,"title":"cannot open oltp on macosx","user":{"login":"yydzero","id":512403,"avatar_url":"https://avatars.githubusercontent.com/u/512403?v=3","gravatar_id":"","url":"https://api.github.com/users/yydzero","html_url":"https://github.com/yydzero","followers_url":"https://api.github.com/users/yydzero/followers","following_url":"https://api.github.com/users/yydzero/following{/other_user}","gists_url":"https://api.github.com/users/yydzero/gists{/gist_id}","starred_url":"https://api.github.com/users/yydzero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yydzero/subscriptions","organizations_url":"https://api.github.com/users/yydzero/orgs","repos_url":"https://api.github.com/users/yydzero/repos","events_url":"https://api.github.com/users/yydzero/events{/privacy}","received_events_url":"https://api.github.com/users/yydzero/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-28T15:14:01Z","updated_at":"2015-06-29T06:45:46Z","closed_at":"2015-06-29T06:45:46Z","body":"Encounter following error when run oltp test on macosx 10.9. Looks like lua scripts are not installed properly.\r\n\r\nLibtoolized with: libtoolize (GNU libtool) 2.4.2\r\nAutomade with: automake (GNU automake) 1.14.1\r\nConfigured with: autoconf (GNU Autoconf) 2.69\r\n\r\n± |0.5 ✗| → sysbench --test=oltp --db-driver=pgsql --pgsql-user=gpadmin prepare\r\nsysbench 0.5:  multi-threaded system evaluation benchmark\r\n\r\nPANIC: unprotected error in call to Lua API (cannot open oltp: No such file or directory)"},"comment":{"url":"https://api.github.com/repos/akopytov/sysbench/issues/comments/116481882","html_url":"https://github.com/akopytov/sysbench/issues/5#issuecomment-116481882","issue_url":"https://api.github.com/repos/akopytov/sysbench/issues/5","id":116481882,"user":{"login":"akopytov","id":1174709,"avatar_url":"https://avatars.githubusercontent.com/u/1174709?v=3","gravatar_id":"","url":"https://api.github.com/users/akopytov","html_url":"https://github.com/akopytov","followers_url":"https://api.github.com/users/akopytov/followers","following_url":"https://api.github.com/users/akopytov/following{/other_user}","gists_url":"https://api.github.com/users/akopytov/gists{/gist_id}","starred_url":"https://api.github.com/users/akopytov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akopytov/subscriptions","organizations_url":"https://api.github.com/users/akopytov/orgs","repos_url":"https://api.github.com/users/akopytov/repos","events_url":"https://api.github.com/users/akopytov/events{/privacy}","received_events_url":"https://api.github.com/users/akopytov/received_events","type":"User","site_admin":false},"created_at":"2015-06-29T06:45:46Z","updated_at":"2015-06-29T06:45:46Z","body":"With sysbench 0.5 you need to pass a path to a Lua script as an argument to the `--test` option, e.g.:\r\n\r\n```\r\n./sysbench ---test=tests/db/oltp.lua ...\r\n```\r\n\r\nUnfortunately, this is not properly documented (yet)."}}