hadoop-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerry <hbjerr...@gmail.com>
Subject libhdfs skipping incompatible jvm
Date Mon, 12 Jan 2009 11:13:23 GMT
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:

[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
[exec] /usr/bin/ld: skipping incompatible
/home/jerry/jdk1.6.0_12/jre/lib/i386/server/libjvm.so when searching for
[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?

View raw message