romgrk / fzy-lua-native

Luajit FFI bindings to FZY
118 stars 16 forks source link

libfzy darwin arm64 #9

Closed mherna closed 3 years ago

mherna commented 3 years ago

Hi I am trying to run the benchmark, on a mac mini running the m1 chip, I get the following error:

luajit: ./lua/native.lua:34: dlopen(./lua/../static/libfzy-darwin-arm64.so, 5): image not found
stack traceback:
    [C]: in function 'load'
    ./lua/native.lua:34: in main chunk
    [C]: in function 'require'
    benchmark.lua:9: in main chunk
    [C]: at 0x01028e2a0c

I believe a libfzy-darwin-arm64.so file is missing in the static folder

romgrk commented 3 years ago

Not available yet on GHA if I'm not mistaken :/ https://github.com/actions/runner/issues/805

mherna commented 3 years ago

@romgrk yeah, that's why I closed the issue :/ ... the good thing is that it does compile correctly! And after building it, it worked as expected.