The cpath is the same whether it passes or fails.
Code: Select all
./?.so;/usr/local/lib/lua/5.1/?.so;/Users/alex/Desktop/luajit/lib/lua/5.1/?.so;/usr/local/lib/lua/5.1/loadall.so;?.dylib
If I place the lfs.so on my desktop and add /Users/myName/Desktop/?.so to the cpath, it works fine when I drag it to LÖVE. I guess I just don't understand what the correct search path is for the directory that my main.lua is in. I thought that would be ?.so or ./?.so or the same for .dylib.
Isn't it also a bug that the default path isn't my user name and LÖVE (or LuaJIT) doesn't seem to search the path where my main.lua is?