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
914 stars 292 forks source link

Symbol not found: _luaL_checkversion_ #141

Closed glepnir closed 4 years ago

glepnir commented 4 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 1 year ago

I encountered the same error, did you solve it?