Closed curtis628 closed 6 years ago
NOTE: I get the same error when I try to install 6.1.3 too
do you have libyaml.so and the yaml header files (libyaml-dev or similar depending on your distro) installed?
if so, are they on the linker search path? some older Linux releases might need you to call luarocks with eg YAML_LIBDIR=/usr/lib/linux-unknown-x86_64
Thanks for the tip, @gvvaughan .
I got this working on PhotonOS
by first installing libyaml-devel
and gcc
. Then I could install lyaml
via luarocks
:
tdnf -y install libyaml-devel gcc
luarocks install lyaml
I got this working on OSX by doing something similar
brew install libyaml
sudo luarocks-5.1 install lyaml
I'm good to go now.
I'm getting install errors when trying to install
lyaml
vialuarocks
on both OSX and Photon OS (Linux).Any idea what I'm missing? Here are the
lua
andluarocks
versions I'm using:NOTE: On my attempts to get this working with Photon OS (which is my primary goal), I'm using LuaJIT 2.1.0-beta2