Closed sylfree9999 closed 5 years ago
I know it is quite late. But still, I would like to post the solution here for anyone facing the same problem. Installed it manually as:
PREFIX ?= /usr
and LUA_SYS_VER ?= 5.1
according to my installation.
Example: I used PREFIX ?= /usr/local
instead of the default.make odbc
command and it will save odbc.so file inside src.make install
will copy this odbc.so file to required directories.Now you can test it inside lua by running require "luasql.odbc"
It seems the problem could be solved with adequate parameters to make, don't you agree?
Hi, I'm quite new to lua and linux. So if anything silly, please bear with me. What I'm trying to do is to connect a remote ms sql server from centos 7. I tried to install luasql-odbc. So I installed lua and luarocks, unixODBC and msodbcsql(don't know if this helps). But when I tried
luarocks install luasql-odbc,
it says No results matching query were found. Can anyone helps how I can install the luasql-odbc?PS. I have also tried using
luarocks install --server=http://luarocks.org/dev luasql-odbc
But with the error: cp: cannot stat ‘src/*.so’: No such file or directory