my OS is Linux 2.6.18-92.el5xen #1 SMP Tue Jun 10 19:20:18 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux (64bit)
my java version is jdk-6u11-linux-x64-rpm.bin (64bit) i change the "-m32" config to "-m64". when i build the "libhdfs", it said that: *compile-libhdfs: [exec] gcc -L/home/jerry/jdk1.6.0_12/jre/lib/i386/server -ljvm -shared -m64 -o /home/jerry/hadoop-0.19.0/build/libhdfs/libhdfs.so.1 -Wl,-soname,libhdfs.so /home/jerry/hadoop-0.19.0/build/libhdfs/hdfs.o /home/jerry/hadoop-0.19.0/build/libhdfs/hdfsJniHelper.o \ [exec] && ln -sf /home/jerry/hadoop-0.19.0/build/libhdfs/libhdfs.so.1 /home/jerry/hadoop-0.19.0/build/libhdfs/libhdfs.so [exec] /usr/bin/ld: skipping incompatible /home/jerry/jdk1.6.0_12/jre/lib/i386/server/libjvm.so when searching for -ljvm [exec] /usr/bin/ld: cannot find -ljvm [exec] collect2: ld 返回 1 [exec] make: *** [/home/jerry/hadoop-0.19.0/build/libhdfs/libhdfs.so.1] is this a bug? *
