Interrestingly enough, -R also works fine even without smartlink on my Linux installation.
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)
Previous text:
2004-06-13 23:29: Subject: Re: checking if the JVM really works...
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?
-- Dan Nelson dnelson@allantgroup.com
/ Brevbäraren