Giter Site home page Giter Site logo

lunarmodules / lua-iconv Goto Github PK

View Code? Open in Web Editor NEW
89.0 89.0 41.0 98 KB

Lua bindings for POSIX iconv

Home Page: https://luarocks.org/modules/lunarmodules/lua-iconv

License: Other

C 24.06% Lua 50.08% Shell 1.17% Makefile 8.68% PostScript 16.02%

lua-iconv's People

Contributors

alerque avatar ittner avatar jonringer avatar moteus avatar teto avatar tieske avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lua-iconv's Issues

Cannot install on OSX

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

./iconv.so: undefined symbol: libiconv

when i run the test_iconv.lua, i get error below:

/usr/local/lua-5.1.4/bin/lua /root/lua-iconv/test_iconv.lua

/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:

ldconfig -p|grep iconv

    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 ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.