Build Problem (original) (raw)

Kelly O'Hair kelly.ohair at oracle.com
Wed Mar 7 18:46:33 UTC 2012


You really aren't providing enough information to go on here.

As of now, building 32bit requires a 32bit OS, and building 64bit requires a 64bit OS. The amd64 is a 64bit library, the i386 is a 32bit library, these libraries will not mix at runtime.

So there are lots of facts you are leaving out here:

-kto

On Mar 5, 2012, at 2:26 PM, Jason Van Cleve wrote:

Hi,

I hope it's okay to ask questions here, as I've been having trouble building "openjdk-6-src-b24-14nov2011". I am getting the "cannot find -ljvm" error, which library it seems to want to find at "jre/lib/amd64/client/libjvm.so" in my bootstrap JDK. But I have three JDKs installed, and none of them has that path. I'm building on a 64-bit linux system, and what I have is as follows: /opt/jdk1.6.019/jre/lib/i386/client/libjvm.so /opt/jdk1.6.019/jre/lib/i386/server/libjvm.so /opt/jdk1.6.025x86-64/jre/lib/amd64/server/libjvm.so /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x8664/jre/lib/amd64/server/libj vm.so Using all three of these JDKs, I have tried copying "libjvm.so" into the expected path, in various ways, but that breaks the build in other ways. Can I even build OpenJDK on a 64-bit machine? Thank you, --Jason



More information about the build-dev mailing list