I'm presuming you are using Raspbian Wheezy.
There's a /usr/lib/libneko.so.0
in libneko0
. If you don't have that installed, do, and try haxe
again.
If that doesn't work, I'm guessing that a libneko.so
symlink may be needed. Make sure it doesn't exist:
stat /usr/lib/libneko.so
Then create it:
cd /usr/lib
sudo ln -s libneko.so.0.1 libneko.so
sudo ldconfig
I can't promise that will work but it probably will and is worth a try.
The haxelib
binary appears to work on the Pi 2 with Fedora 21:
>./haxlib
Haxe Library Manager 3.1.0-rc.4 - (c)2006-2013 Haxe Foundation
Usage: haxelib [command] [options]
[...]
But I don't think it will work on raspbian unless (perhaps) if you compile neko from source -- which, although it is small, looks to be a real PITA because there is no .configure
-- I tried a few of the make targets and they flunked, but you might have better luck or more patience.
Here's what I tried on a wheezy pi WRT the jessie packages:
wget http://archive.raspbian.org/raspbian/pool/main/n/neko/libneko0_2.0.0-3_armhf.deb
dpkg -i libneko0_2.0.0-3_armhf.deb
Turns out we need the jessie libgc, too:
wget http://archive.raspbian.org/raspbian/pool/main/libg/libgc/libgc1c2_7.2d-6.4_armhf.deb
dpkg -i libgc1c2_7.2d-6.4_armhf.deb
dpkg -i libneko0_2.0.0-3_armhf.deb
But :(
>./haxelib
Uncaught exception - load.c(237) : Failed to load library : std.ndll (std.ndll: cannot open shared object file: No such file or directory)
So I don't think upgrading to Jessie will help. You could try Ubuntu Snappy Core, if you can figure out how to make it work with a normal read-write filesystem...or the Fedora 21 Pi 2 re-mix (much less hassle than my method, and should be all the same software).
Of course, getting libneko to compile would be the best option, if that's the issue and haxelib then works.
dpkg -S "*/libneko.so"
say? – goldilocks Mar 12 '15 at 15:10