haxe on Centos 6.4

224 views
Skip to first unread message

amitba...@gmail.com

unread,
Nov 19, 2013, 9:55:32 PM11/19/13
to haxe...@googlegroups.com
Hi Gang,

I have recompiled the Haxe and Neko from the source and download the hxcpp lib. I am able to compile my haxe code to cpp target but when i run the application its gives  me Error Error : Could not load module std@socket_init__0.

I don't understand this error.

Please help.

Output
    ldd NirvanaServer-debug
    linux-gate.so.1 =>  (0x00d9f000)
    libpthread.so.0 => /lib/libpthread.so.0 (0x00702000)
    libdl.so.2 => /lib/libdl.so.2 (0x006fb000)
    libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x05f37000)
    libm.so.6 => /lib/libm.so.6 (0x0071f000)
    libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x0046e000)
    libc.so.6 => /lib/libc.so.6 (0x00562000)
    /lib/ld-linux.so.2 (0x00540000)

Thank You,
Amit

Hugh

unread,
Nov 19, 2013, 11:32:37 PM11/19/13
to haxe...@googlegroups.com
Hi,
You can setenv HXCPP_LOAD_DEBUG=1 to see that is going on.
Is your hxcpp lib registering in haxelib ?  (haxelib list).

Hugh

amitba...@gmail.com

unread,
Nov 20, 2013, 3:38:22 AM11/20/13
to haxe...@googlegroups.com
Searching for std...
 try ./std.dso...
Error loading library: (./std.dso) ./std.dso: cannot open shared object file: No such file or directory
 try std.dso...
Error loading library: (std.dso) std.dso: cannot open shared object file: No such file or directory
 try std...
Error loading library: (std) std: cannot open shared object file: No such file or directory
HAXEPATH env:(null)
HAXEPATH home:/usr/lib/haxe/lib
HAXEPATH dir:/usr/lib/haxe/lib
Read dev location from file :/usr/lib/haxe/lib/hxcpp/.dev, got (null)
 try /usr/lib/haxe/lib/hxcpp/3,0,2
//bin/Linux/std.dso...
Error loading library: (/usr/lib/haxe/lib/hxcpp/3,0,2
//bin/Linux/std.dso) /usr/lib/haxe/lib/hxcpp/3,0,2
//bin/Linux/std.dso: cannot open shared object file: No such file or directory
HAXEPATH env:(null)
HAXEPATH home:/usr/lib/haxe/lib
HAXEPATH dir:/usr/lib/haxe/lib
Read dev location from file :/usr/lib/haxe/lib/std/.dev, got (null)
 try ./std.ndll...
Error loading library: (./std.ndll) ./std.ndll: cannot open shared object file: No such file or directory
 try std.ndll...
Error loading library: (std.ndll) std.ndll: cannot open shared object file: No such file or directory
 try ./std...
Error loading library: (./std) ./std: cannot open shared object file: No such file or directory
HAXEPATH env:(null)
HAXEPATH home:/usr/lib/haxe/lib
HAXEPATH dir:/usr/lib/haxe/lib
Read dev location from file :/usr/lib/haxe/lib/hxcpp/.dev, got (null)
 try /usr/lib/haxe/lib/hxcpp/3,0,2
//bin/Linux/std.ndll...
Error loading library: (/usr/lib/haxe/lib/hxcpp/3,0,2
//bin/Linux/std.ndll) /usr/lib/haxe/lib/hxcpp/3,0,2
//bin/Linux/std.ndll: cannot open shared object file: No such file or directory
HAXEPATH env:(null)
HAXEPATH home:/usr/lib/haxe/lib
HAXEPATH dir:/usr/lib/haxe/lib
Read dev location from file :/usr/lib/haxe/lib/std/.dev, got (null)

Error : Could not load module std@socket_init__0

Thank you,
amit
Reply all
Reply to author
Forward
0 new messages