Hello all,I'm trying to install the lua wrapper provided with coolprop (http://www.coolprop.org/) under debian sid i386 with lua 5.2 (long term goal: call coolprop from luatex).I followed the instruction found here (https://github.com/CoolProp/CoolProp/tree/master/wrappers/Lua) that is:*Manual Lua (PUC) Installation*1. First you need to build shared library version of a CoolLib library and install it somewhere in your operating system's library search path (instructions are here : http://www.coolprop.org/coolprop/wrappers/SharedLibrary/index.html).2. Next you need to compile coolprop/cpapi.c wrapper. Easiest way to do it is to run make on Lua wrapper's root folder.3. Then place the resulting coolprop/cpapi.so in your Lua's package.cpath, and there under coolprop directory.4. Done.
But running lua example.lua from the CoolProp/wrappers/Lua directory complains:
lua: /usr/share/lua/5.2/coolprop.lua:13: Unable to load Lua CoolProp C API Wrapper.
stack traceback:
[C]: in function 'assert'
/usr/share/lua/5.2/coolprop.lua:13: in main chunk
[C]: in function 'require'
example.lua:1: in main chunk
[C]: in ?
Lines 12 and 13 of coolprop.lua are:
local ok, capi = pcall(require, "coolprop.capi")
assert(ok, "Unable to load Lua CoolProp C API Wrapper.")
Indeed, there is no coolprop.capi there. Any idea of something I may have done wrong?
Thanks
--
Christophe