lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


2018-07-23 14:55 GMT+02:00 Andriy Kornatskyy <andriy.kornatskyy@live.com>:
> It appears luarocks 3.0.0 fails to install xml package.
>
> [1] https://luarocks.org/modules/gaspard/xml
>
> Steps to reproduce:
>
> luarocks install xml
>
> Error: Could not find library file for STDC++
>
> It works with luarocks 2.4.4.

I have the same problem in Ubuntu 16.04 LTS. The problem may be that
luarocks does not follow a symbolic link, since package.loadlib works.

$ luarocks install xml
No file matching libstdc++.so.* in /usr/lib/x86_64-linux-gnu
$ ls -l /usr/lib/x86_64-linux-gnu/libstdc++.so.6
lrwxrwxrwx 1 root root 19 Jun 22 00:44
/usr/lib/x86_64-linux-gnu/libstdc++.so.6 -> libstdc++.so.6.0.21
$ lua
Lua 5.3.5  Copyright (C) 1994-2018 Lua.org, PUC-Rio
> package.loadlib ('/usr/lib/x86_64-linux-gnu/libstdc++.so.6', '*')
true