lunarmodules / luafilesystem

LuaFileSystem is a Lua library developed to complement the set of functions related to file systems offered by the standard Lua distribution.
https://lunarmodules.github.io/luafilesystem/
MIT License
900 stars 291 forks source link

Symbol not found: _luaL_checkversion_ #141

Closed glepnir closed 3 years ago

glepnir commented 3 years ago

when i run lua require('lfs') I got this error fully error:

E5108: Error executing lua error loading module 'lfs' from file '/Users/stephen/.config/nvim/lua/lfs.so':                                                                                                       
        dlopen(/Users/stephen/.config/nvim/lua/lfs.so, 6): Symbol not found: _luaL_checkversion_        
  Referenced from: /Users/stephen/.config/nvim/lua/lfs.so                                               
  Expected in: flat namespace                                                                           
 in /Users/stephen/.config/nvim/lua/lfs.so
Hanoboo commented 11 months ago

I encountered the same error, did you solve it?