Thanks for the reply,
Well... I have changed it to
ALibName:= ExpandFileName(GetCurrentDir() + '/'+DefaultLibName);
The ALibName value is
'/Developer/Games/Phoenix/demos.freepascal/_Compiled/liblua5.1.dylib'
And the .dylib really exists in this path, but it still does not works.
What else should I verify?
I will make a project to you test it.
Thanks