liblua5.1.dylib
Code:
LuaHandle:= DynLibs.LoadLibrary(ALibName);

  if LuaHandle = NilHandle then
  begin
     Result := False;
     Exit;
  end;
LuaHandle is always returning NilHandle. FileExists(ALibName) returns true.

I use the same command to load Bass and it works.

Anybody have any idea of what is wrong?