I would avoid making a manual copy of libjvm.so - see if you can figure out why 
adding the JDK copy didn't work.  For reference, here's what we use:

if [ "$LD_LIBRARY_PATH" = "" ]
        then JVM_LIB=`find ${JAVA_HOME}/jre/lib -name libjvm.so |tail -n 1`
        export LD_LIBRARY_PATH=`dirname $JVM_LIB`:/usr/lib/

fi

Brian

On Mar 8, 2011, at 1:38 PM, yxxtdc wrote:

> I copied the libjvm.so from
> /usr/java/jdk1.6.0_24/jre/lib/amd64/server/libjvm.so.
> I added /usr/java/jdk1.6.0_24/jre/lib/amd64/server to the LD_LIBRARY_PATH
> and it did not work so I made a manual copy to $HADOOP_HOME/lib directory.
> 
> I googled my HPI error someone suggested to use the client version of the
> libjvm.so but jdk 6 only came with the lib/amd64/server/libjvm.so.
> 
> 
> Thanks,
> 
> Yang
> 
> 
> --
> View this message in context: 
> http://hadoop-common.472056.n3.nabble.com/Anybody-can-help-with-MountableHDFS-fuse-dfs-please-tp2652043p2652276.html
> Sent from the Users mailing list archive at Nabble.com.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to