[haXe] newbie question: dyld: Library not loaded: @executable_path/libneko.dylib when installing swshx

Nicolas Cannasse ncannasse at motion-twin.com
Wed Nov 1 09:28:00 CET 2006


> I have installed haxe and neko on OSX (Intel).
> I am trying to install swshx.
> 
> $ ./haxelib install swshx
> dyld: Library not loaded: @executable_path/libneko.dylib
>   Referenced from: /opt/haxe/./haxelib
>   Reason: image not found
> Trace/BPT trap
> 
> What env variables are used by haxelib when looking for the dylib?
> I have tried: LD_LIBRARY_PATH and NEKOPATH.

You should put all neko libs in /usr/local/lib/neko/ and create a
symlink /usr/lib/libneko.dylib that point to
/usr/local/lib/neko/libneko.dylib

Nicolas



More information about the Haxe mailing list