lunarmodules / lua-iconv Goto Github PK
View Code? Open in Web Editor NEWLua bindings for POSIX iconv
Home Page: https://luarocks.org/modules/lunarmodules/lua-iconv
License: Other
Lua bindings for POSIX iconv
Home Page: https://luarocks.org/modules/lunarmodules/lua-iconv
License: Other
continuing from this ticket: lunarmodules#1
@ittner @teto I have added the previously created group as maintainers to this repo now.
It would be good if we could duplicate this effort in this repo as well.
@jonringer should I be adding you as a maintainer as well?
Hi, I recently packaged your library for NixOS, the CI builds Darwin as well as Linux by default. There seem to be a number of issues that prevent this from working with OSX.
I fixed a bunch of things but finally when I try to run the example.lua file included in this git repo I get the following:
sh-3.2# lua test_iconv.lua
lua: error loading module 'iconv' from file '/usr/local/lib/lua/5.2/iconv.so':
dlopen(/usr/local/lib/lua/5.2/iconv.so, 6): Symbol not found: _iconv
Referenced from: /usr/local/lib/lua/5.2/iconv.so
Expected in: flat namespace
in /usr/local/lib/lua/5.2/iconv.so
stack traceback:
[C]: in ?
[C]: in function 'require'
test_iconv.lua:3: in main chunk
[C]: in ?
I've been able to package another lua binding on OSX without issue, I'm not sure I understand why this binding should be any different. Fwiw, I also modified the Makefile to link with libiconv, so it's not clear to me why the symbol cannot be found.
Thanks,
Richard
the download link in the rockspec https://github.com/ittner/lua-iconv/blob/b761918588736348698eb060a3a490f448786f01/lua-iconv-7-1.rockspec#L9C10-L9C74 is a 404. It breaks my script that autogenerates nix code.
Is it possible to fix the rockspec to point at an existing archive ?
when i run the test_iconv.lua, i get error below:
/usr/local/lua-5.1.4/bin/lua: error loading module 'iconv' from file './iconv.so':
./iconv.so: undefined symbol: libiconv
stack traceback:
[C]: ?
[C]: in function 'require'
/root/lua-iconv/test_iconv.lua:1: in main chunk
[C]: ?
i am sure i have been installed libiconv-1.13.1, it is in /usr/local/iconv-1.13.1, and:
libiconv.so.2 (libc6,x86-64) => /usr/local/libiconv-1.13.1/lib/libiconv.so.2
libiconv.so (libc6,x86-64) => /usr/local/libiconv-1.13.1/lib/libiconv.so
can you help me ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.