{"action":"opened","issue":{"url":"https://api.github.com/repos/LLNL/lmt/issues/32","repository_url":"https://api.github.com/repos/LLNL/lmt","labels_url":"https://api.github.com/repos/LLNL/lmt/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/LLNL/lmt/issues/32/comments","events_url":"https://api.github.com/repos/LLNL/lmt/issues/32/events","html_url":"https://github.com/LLNL/lmt/issues/32","id":305195748,"number":32,"title":"lmtsh complains about lack of Lua support","user":{"login":"george-b","id":3017675,"avatar_url":"https://avatars2.githubusercontent.com/u/3017675?v=4","gravatar_id":"","url":"https://api.github.com/users/george-b","html_url":"https://github.com/george-b","followers_url":"https://api.github.com/users/george-b/followers","following_url":"https://api.github.com/users/george-b/following{/other_user}","gists_url":"https://api.github.com/users/george-b/gists{/gist_id}","starred_url":"https://api.github.com/users/george-b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/george-b/subscriptions","organizations_url":"https://api.github.com/users/george-b/orgs","repos_url":"https://api.github.com/users/george-b/repos","events_url":"https://api.github.com/users/george-b/events{/privacy}","received_events_url":"https://api.github.com/users/george-b/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-14T14:59:25Z","updated_at":"2018-03-14T14:59:25Z","closed_at":null,"author_association":"NONE","body":"I have the following installed.\r\n\r\n```\r\n$ rpm -qa | grep lua\r\nlua-5.1.4-14.el7.x86_64\r\nlua-devel-5.1.4-14.el7.x86_64\r\n```\r\n\r\nIn the `config.log` of the LMT build I have the following, abbreviated to what I believe to be the relevant pieces of information but I can provide the full log if required.\r\n\r\n```\r\n\r\n...\r\n\r\nconfigure:13276: checking lua.h usability\r\nconfigure:13276: gcc -c -g -O2  conftest.c >&5\r\nconfigure:13276: $? = 0\r\nconfigure:13276: result: yes\r\nconfigure:13276: checking lua.h presence\r\nconfigure:13276: gcc -E  conftest.c\r\nconfigure:13276: $? = 0\r\nconfigure:13276: result: yes\r\nconfigure:13276: checking for lua.h\r\nconfigure:13276: result: yes\r\n\r\n...\r\n\r\nconfigure:13803: checking for luaL_newstate in default libs\r\nconfigure:13827: gcc -o conftest -g -O2   conftest.c -lm -ldl  >&5\r\n/tmp/ccuaRyzQ.o: In function `main':\r\n/home/admin/lmt-3.2.0/conftest.c:87: undefined reference to `luaL_newstate'\r\ncollect2: error: ld returned 1 exit status\r\nconfigure:13827: $? = 1\r\n\r\n...\r\n\r\nconfigure:13840: checking for luaL_newstate in -llua\r\nconfigure:13865: gcc -o conftest -g -O2   conftest.c -llua  -lm -ldl  >&5\r\nconfigure:13865: $? = 0\r\nconfigure:13874: result: yes\r\n\r\n...\r\n\r\nac_cv_header_lua_h=yes\r\n\r\n...\r\n\r\nac_cv_lib_lua_luaL_newstate=yes\r\n\r\n...\r\n\r\nx_ac_cv_lib_none_luaL_newstate=no\r\n\r\n...\r\n\r\n```\r\n\r\nI have set up the database per the wiki and am able to list it.\r\n\r\n```\r\n$ /usr/sbin/lmtinit -l -u lwatchadmin -P\r\nPassword: \r\nsnx11258\r\n```\r\n\r\nHowever I am unable to use `lmtsh`\r\n\r\n```\r\n$ /sbin/lmtsh -v -d\r\n/etc/lmt/lmt.conf: LMT was built without LUA support\r\n[LMT:init] Missing configuration file or configuration info: /etc/lmt/lmt.conf\r\n```\r\n\r\nThe file `/etc/lmt/lmt.conf` does exist and contains the correct information."}}
{"actor":{"display_login":"george-b"}}