I am accessing the dll using the call() proc.
The main reason I am trying .so, is because my .dll didn't work on the Unix machine. But, even though I tried to make a .so, it still gives me "runtime error: Unable to load library nature.so". I am completely sure I am loading the game in Trusted Mode.
I am accessing the Unix machine over a network through the internet. I am not sure if the probelm is because it is over the internet, or because I did not compile the .so file correctly.
The C code is as follows:
I compiled it using the following command lines:
gcc -c -fpic nature.c
Am I compiling it right? What could be wrong?
I imagine LummoxJR might know what's wrong?