Haxe plugin for asdf version manager
asdf plugin-add haxe https://github.com/asdf-community/asdf-haxe.git
Check asdf readme for instructions on how to install & manage versions.
@rpath/libneko.2.dylib
not being loaded byhaxelib
Haxe executables expect Neko's dynamic libraries to be found relative to the executable file.
An error like the following is produced:
$ haxelib
dyld: Library not loaded: @rpath/libneko.2.dylib
Referenced from: /vic/.asdf/installs/haxe/4.0.5/bin/./haxelib
Reason: image not found
fish: './haxelib' terminated by signal SIGABRT (Abort)
To fix this install a compatible NekoVM version using asdf-neko and then execute:
asdf current haxe # should display your selected haxe version
asdf current neko # should display your selected haxe version
asdf haxe neko dylibs link # link neko dylibs
haxelib # this should work now.
Licensed under the Apache License, Version 2.0.