donaldguy / asdf-haxe

Haxe plugin for the asdf version manager

Home Page:https://github.com/asdf-vm/asdf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

asdf-haxe

Haxe plugin for asdf version manager

Installation

asdf plugin-add haxe https://github.com/asdf-community/asdf-haxe.git

Usage

Check asdf readme for instructions on how to install & manage versions.

Troubleshooting

  • @rpath/libneko.2.dylib not being loaded by haxelib

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.

License

Licensed under the Apache License, Version 2.0.

About

Haxe plugin for the asdf version manager

https://github.com/asdf-vm/asdf

License:Apache License 2.0


Languages

Language:Shell 95.0%Language:Makefile 5.0%