On Oct 9, 2008, at 6:46 PM, Songting Chen wrote:

Thanks, Arun.

Does that mean I have to rebuild the native library?


No, hadoop releases come bundled with pre-built 32/64 bit libhadoop.so for Linux...

Arun

Also, the LZO installation puts liblzo2.a and liblzo2.la under /usr/ local/lib. There is no liblzo2.so there. Do I need to rename them to liblzo2.so somehow?


--- On Thu, 10/9/08, Arun C Murthy <[EMAIL PROTECTED]> wrote:

From: Arun C Murthy <[EMAIL PROTECTED]>
Subject: Re: How to make LZO work?
To: [email protected]
Date: Thursday, October 9, 2008, 6:35 PM
On Oct 9, 2008, at 5:58 PM, Songting Chen wrote:

Hi,
I have installed lzo-2.03 to my Linux box.
But still my code for writing a SequenceFile using
LZOcodec returns
the following error:

util.NativeCodeLoader: Loaded the native-hadoop
library
java.lang.UnsatisfiedLinkError: Cannot load
liblzo2.so!

What needs to be done to make this work?


http://hadoop.apache.org/core/docs/current/native_libraries.html

Arun

Reply via email to