lua-users home
lua-l archive

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


The same issue exists with version 3.0.1. Do you plan to get this fixed?

________________________________________
From: lua-l-bounces@lists.lua.org <lua-l-bounces@lists.lua.org> on behalf of Dirk Laurie <dirk.laurie@gmail.com>
Sent: Wednesday, July 25, 2018 7:56 PM
To: Lua mailing list
Subject: Re: [ANN] LuaRocks 3.0.0

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