haXe Forum > problem with haxelib

  • Hi Everyone,

    First of all, I'm complete beginner with Haxe ;)
    I'm trying to add Jquery to the haxelib, following this tutorial: http://haxe.org/doc/js/events
    using the following command:
    haxelib install jquery
    but for some reason I'm getting this error:

    haxelib: error while loading shared libraries: libneko.so: cannot open shared object file: No such file or directory

    I looked around the web and there was a couple of post with the same issue, but no solution,
    someone recommended to stop/start Appache but it didn't help

    I'm running Apache 2 , and I'm trying to set up the environment on an ubuntu system.

    Thank you

  • you need to point your LD_LIBRARY_PATH or NEKOPATH variable to the location of libneko.so. This can be located in different places depending on how you installed neko - if you use the installer I think it is in /usr/lib/neko , though in most cases the installer should set these variables globally.

    so in the shell you would do

    export LD_LIBRARY_PATH=/usr/lib/neko
    haxelib install xyz

    see the manual install section in http://haxe.org/download for more details.

< Prev | Page 1 / 1 | Next >