Need help - building PROJ4 on Linux
Hi folks.
I am a Java propgrammer who is currently developing a JNI Wrapper for PROJ4, a cartographic projection library.
The JNI part is ready and works on Windows, an now I'm trying to port the whole thing on Linux.
Unsuccessfully.
A friend of mine has build PROJ4 for me - the result is libproj.a which I believe to be some sort of a link-ready library. I am compiling and linking it with my sources as follows:
This results in libproj4java.so - the library I need for my JNI wrapper for Linux.
However, when I try to load this library from within a Java program, I get an error message like "Symbol gxx_personality_v0 is not defined.".
There is no "gxx_personality" string anywhere in PROJ4 package. However it presents in the libproj.a I got from my friend. I got no idea what the problem is.
I have almost no Linux experience (and also no handy Linux machine), which makes my task even more difficult.
Therefore I'd like to ask for help.
If anyone with Linux experience and 10 minutes of free time could compile PROJ4 and send me the libproj.a file, I'd be grateful.
The project is non-commercial open source (http://proj4java.dev.java.net).
Proj4 may be downloaded from:
ftp://ftp.remotesensing.org/pub/proj/proj-4.4.9.tar.gz
Building instructions are in readme file.
My mail is valikov[at]disy.net.
I am a Java propgrammer who is currently developing a JNI Wrapper for PROJ4, a cartographic projection library.
The JNI part is ready and works on Windows, an now I'm trying to port the whole thing on Linux.
Unsuccessfully.
A friend of mine has build PROJ4 for me - the result is libproj.a which I believe to be some sort of a link-ready library. I am compiling and linking it with my sources as follows:
gcc -shared -I${java.home.include} -I${java.home.include}/linux src/c/proj4java.cpp src/c/libproj.a -o lib/runtime/libproj4java.soThis results in libproj4java.so - the library I need for my JNI wrapper for Linux.
However, when I try to load this library from within a Java program, I get an error message like "Symbol gxx_personality_v0 is not defined.".
There is no "gxx_personality" string anywhere in PROJ4 package. However it presents in the libproj.a I got from my friend. I got no idea what the problem is.
I have almost no Linux experience (and also no handy Linux machine), which makes my task even more difficult.
Therefore I'd like to ask for help.
If anyone with Linux experience and 10 minutes of free time could compile PROJ4 and send me the libproj.a file, I'd be grateful.
The project is non-commercial open source (http://proj4java.dev.java.net).
Proj4 may be downloaded from:
ftp://ftp.remotesensing.org/pub/proj/proj-4.4.9.tar.gz
Building instructions are in readme file.
My mail is valikov[at]disy.net.
