Skip to content

sys9kdr/asdf-haxe

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 95.0%
  • Makefile 5.0%