Well I'm having the exactely same issue ... Made a couple of installation and all off them occur the same ...
no file './curl.lua'
no file '/usr/local/share/lua/5.1/curl.lua'
no file '/usr/local/share/lua/5.1/curl/init.lua'
no file '/usr/local/lib/lua/5.1/curl.lua'
no file '/usr/local/lib/lua/5.1/curl/init.lua'
no file '/usr/share/newfies-lua/curl.lua'
no file '/usr/share/newfies-lua/libs/curl.lua'
no file '/usr/share/newfies-lua/curl.lua'
no file '/usr/share/newfies-lua/libs/curl.lua'
no file '/usr/share/newfies-lua/curl.lua'
no file '/usr/share/newfies-lua/libs/curl.lua'
no file '/usr/share/newfies-lua/curl.lua'
no file '/usr/share/newfies-lua/libs/curl.lua'
no file '/usr/lib/x86_64-linux-gnu/curl.so'
no file '/usr/lib/x86_64-linux-gnu/lua/5.1/curl.so'
no file '/usr/lib/x86_64-linux-gnu/lua/5.1/luasql/curl.so'
no file '/usr/local/lib/lua/5.1/curl.so'
for some reason those files are not there the directory is not present...
like this one the system required the directory /usr/lib/x86_64-linux-gnu/lua/5.1/curl.so and it is installed at /usr/lib/i386-linux-gnu/lua/5.1/curl.so
also the directory /usr/lib/i386_64-linux-gnu and the directory /usr/lib/i386_64-linux-gnu/lua/5.1/luasql/ doen't have the 'curl.so'.
The ubuntu server is the follwing
login as: root
root@192.168.10.138's password:
Welcome to Ubuntu 12.04.1 LTS (GNU/Linux 2.6.32-16-pve i686)
I tryed do this:
root@dialer-2-0:~# apt-get install curl.lua
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package curl.lua
E: Couldn't find any package by regex 'curl.lua'
I found a repository tha has some lua packages:
http://packages.ubuntu.com/source/hardy/lua-curlhttp://packages.ubuntu.com/source/lucid/lua-curlhttp://packages.ubuntu.com/source/oneiric/lua-curlhttp://packages.ubuntu.com/source/precise/lua-curlhttp://packages.ubuntu.com/source/quantal/lua-curlhttp://packages.ubuntu.com/source/raring/lua-curlBut I'm not sure if they are the write files to use.
Do you have any idea ?