Re: Compiling hadoop native libraries

2011-07-31 Thread Aastha Mehta
My bad! LD_LIBRARY_PATH was wrong in the fuse_dfs_wrapper. It is working now. Thanks a lot for the help again. Regards, Aastha. On 1 August 2011 12:08, Eli Collins wrote: > If libhdfs.so is in your build directory then it sounds like it is not > in your LD_LIBRARY_PATH. Double check fuse_dfs_wr

Re: Compiling hadoop native libraries

2011-07-31 Thread Aastha Mehta
I built libhdfs again. I still get the error. Please help me. Thanks for your time. Regards, Aastha. On 1 August 2011 12:02, Aastha Mehta wrote: > I did run this command earlier. Does it need to be run after compiling the > native library? > > Thanks, > Aastha. > > > On 1 August 2011 12:01, Eli

Re: Compiling hadoop native libraries

2011-07-31 Thread Eli Collins
If libhdfs.so is in your build directory then it sounds like it is not in your LD_LIBRARY_PATH. Double check fuse_dfs_wrapper.sh to make sure it's setting it correctly. Btw here's how I call the wrapper.. https://github.com/elicollins/hadoop-dev/blob/master/bin/fuse-mount-hdfs On Sun, Jul 31, 201

Re: Compiling hadoop native libraries

2011-07-31 Thread Aastha Mehta
I did run this command earlier. Does it need to be run after compiling the native library? Thanks, Aastha. On 1 August 2011 12:01, Eli Collins wrote: > You haven't build libhdfs. You can do that with ant > compile-c++-libhdfs -Dcompile.c++=true > > On Sun, Jul 31, 2011 at 10:26 PM, Aastha Meh

Re: Compiling hadoop native libraries

2011-07-31 Thread Eli Collins
You haven't build libhdfs. You can do that with ant compile-c++-libhdfs -Dcompile.c++=true On Sun, Jul 31, 2011 at 10:26 PM, Aastha Mehta wrote: > The command works correctly. But I still get the error for running the > fuse_dfs_wrapper.sh script: > > ./fuse_dfs: error while loading shared libr

Re: Compiling hadoop native libraries

2011-07-31 Thread Aastha Mehta
The command works correctly. But I still get the error for running the fuse_dfs_wrapper.sh script: ./fuse_dfs: error while loading shared libraries: libhdfs.so.0: cannot open shared object file: No such file or directory Aastha. On 1 August 2011 10:03, Arun C Murthy wrote: > Run the following

Re: Compiling hadoop native libraries

2011-07-31 Thread Arun C Murthy
Run the following command: $ ant -Dcompile.native=true package Arun On Jul 31, 2011, at 9:20 PM, Aastha Mehta wrote: > Hi Arun, > > Thanks for the prompt reply. I am not sure, I understood you correctly. > Compile/binary/tar of what? The native files? The lib/native/Linux-amd64-64/ > contains

Re: Compiling hadoop native libraries

2011-07-31 Thread Aastha Mehta
Hi Arun, Thanks for the prompt reply. I am not sure, I understood you correctly. Compile/binary/tar of what? The native files? The lib/native/Linux-amd64-64/ contains following files: libhadoop.a libhadoop.la libhadoop.so libhadoop.so.1 libhadoop.so.1.0.0 This directory is present in the package

Re: Compiling hadoop native libraries

2011-07-31 Thread Arun Murthy
could be compile or binary or tar. Arun Sent from my iPhone On Jul 31, 2011, at 9:05 PM, Aastha Mehta wrote: > Hello, > > I am trying to run fuse_dfs_wrapper.sh from > hadoop-0.20.2/src/contrib/fuse_dfs/src on a 64-bit machine. I get the > following error: > ./fuse_dfs: error while loading sh