jasonzhang2009 has asked for the wisdom of the Perl Monks concerning the following question:

Here is my script to reproduce the issue in 64-bit system.
pwd=`pwd` wget http://search.cpan.org/CPAN/authors/id/G/GM/GMPASSOS/PLJava-0.04. +tar.gz tar -xzf PLJava-0.04.tar.gz cd PLJava-0.04 cp Makefile.PL MakeFile.PL perl Makefile.PL perl -pi -e "s|CFLAGS=|CFLAGS=-fPIC |" Makefile make swig make cd built jar -cf perl5.jar perl5 cp perl5.jar $pwd cp libPLJava.so $pwd cd $pwd java -Djava.library.path=. -cp perl5.jar:PLJava-0.04 test
My system is 64-bit Fedora 8. I tried JDK 1.6 and JDK 1.5. Both of them gave segmentation fault. Unfortunately, I could not contact the module author anymore. Any suggestion is really appreciated. -jason