Code Monkey home page Code Monkey logo

lua-ssh's People

Contributors

esno avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

4mig4 oupula

lua-ssh's Issues

Alpine linux: libssh2_scp_send_ex: symbol not found

When trying to require ssh in Lua 5.3 or Lua 5.2 on Alpine Linux I get this error message:

> ssh = require("ssh")
error loading module 'ssh' from file '/usr/local/lib/lua/5.3/ssh.so':
	Error relocating /usr/local/lib/lua/5.3/ssh.so: libssh2_scp_send_ex: symbol not found
stack traceback:
	[C]: in ?
	[C]: in function 'require'
	stdin:1: in main chunk
	[C]: in ?
> luarocks-5.3 --version
/usr/bin/luarocks-5.3 2.4.4
> lua5.3 -v
Lua 5.3.5  Copyright (C) 1994-2018 Lua.org, PUC-Rio
> luarocks-5.2 --version
/usr/bin/luarocks-5.2 2.4.4
> lua5.2 -v
Lua 5.2.4  Copyright (C) 1994-2015 Lua.org, PUC-Rio
> apk info libssh2
libssh2-1.9.0-r1

lua.h file not found

  • When i use make something error
    cc -o ssh.so src/ssh.c -fPIC -I/usr/local/bin/lua5.3 -L/usr/local/opt/gettext/lib -shared -lssh2
    src/ssh.c:1:10: fatal error: 'lua.h' file not found

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.