Dan Nelson wrote:
In the last episode (Jun 13), David Gourdelier said:
Looks like there is a problem with Pike's configure and Java. I have the latest JRE and Pike's configure says:
configure:3922: checking if the JVM really works configure:4005: gcc -o conftest -g -I. -I/usr/local/j2ee/jdk/jre/../include/linux -I/usr/local/j2ee/jdk/jre/../include -L/usr/local/j2ee/jdk/jre/lib/i386 -R/usr/local/j2ee/jdk/jre/lib/i386 -L/usr/local/j2ee/jdk/jre/lib/i386/native_threads -R/usr/local/j2ee/jdk/jre/lib/i386/native_threads -L/usr/local/j2ee/jdk/jre/lib/i386/server -R/usr/local/j2ee/jdk/jre/lib/i386/server -L/usr/local/j2ee/jdk/jre/lib/i386/client -R/usr/local/j2ee/jdk/jre/lib/i386/client conftest.c -ljvm >&5 gcc: unrecognized option `-R/usr/local/j2ee/jdk/jre/lib/i386' gcc: unrecognized option `-R/usr/local/j2ee/jdk/jre/lib/i386/native_threads' gcc: unrecognized option `-R/usr/local/j2ee/jdk/jre/lib/i386/server' gcc: unrecognized option `-R/usr/local/j2ee/jdk/jre/lib/i386/client' configure:4008: $? = 0 configure:4010: ./conftest ./conftest: error while loading shared libraries: libjvm.so: cannot open shared object file: No such file or directory
That compile test should have gone through smartlink, which would have translated those -R flags into something your linker understands. All the linux pikefarm builds look like they use smartlink correctly. Are you disabling it in your build?
I only did a configure (with --with-cdebug) in the src directory of the CVS tree and a make in the upper directory gives the same result. I also have the same problem under FreeBSD. Actually how to disable smartlink ?
/ David