aarzilli / golua

Go bindings for Lua C API - in progress

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cannot find -llua5.1

XuYunnan opened this issue · comments

[vagrant@lain example]$ go build basic.go 
# _/vagrant/develop/golua/lua
/usr/bin/ld: cannot find -llua5.1

centos lua5.1.4
how can i fix this error?

Try to pass "-tags llua" to go install (or go get), different linux distributions user different names for the library.