Linux extension tutorial from wiki not working
In the end I need a shared library that I can use in order to send HTTP requests on certain events. I'm not that far though, I just need to create an extension that will run on a linux dedicated server.
My C code is exactly what is on the wiki and the compiler is called with the same arguments. https://community.bistudio.com/wiki/Extensions#Linux_shared_library_interface
I place the SO in the root folder of Arma and I attempt to call it:
output = "a3stats" callextension "version";
diag_log output;
Except it always comes back empty (I'm executing the code on the server where the SO is located). The only mods I have enabled at the moment is @CBA because I need the extended event handlers. Am I missing something obvious? My GCC version is 5.4
ldd output:
steam@armadev:~/a3server$ ldd a3stats.so
linux-vdso.so.1 => (0x00007fff81fad000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f85835ad000)
/lib64/ld-linux-x86-64.so.2 (0x000055b1607e7000)
Posted Dec 26, 2016, 11:32 AM UTC · edited
42