hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Songting Chen <ken_cst1...@yahoo.com>
Subject Re: How to make LZO work?
Date Fri, 10 Oct 2008 19:46:11 GMT
I switched to lzo-2.02 package. This time liblzo2.so was built.

Now everything worked.

Thanks,
-Songting


--- On Fri, 10/10/08, Songting Chen <ken_cst1998@yahoo.com> wrote:

> From: Songting Chen <ken_cst1998@yahoo.com>
> Subject: Re: How to make LZO work?
> To: core-user@hadoop.apache.org
> Date: Friday, October 10, 2008, 11:14 AM
> Thanks, Allen.
> 
> I checked the INSTALL doc in lzo-2.03 package. 
> 
> It's said to use './configure --enable-shared'
> command to build shared library. I followed that instruction
> and recompile / install the package.
> 
> But after that, still only .a, .la appear in
> /usr/local/lib.
> 
> -rw-r--r-- 1 root root   855742 Oct 10 10:50 liblzo2.a
> -rwxr-xr-x 1 root root      740 Oct 10 10:50 liblzo2.la
> 
> How do I generate the liblzo2.so file?
> 
> --- On Fri, 10/10/08, Allen Wittenauer
> <aw@yahoo-inc.com> wrote:
> 
> > From: Allen Wittenauer <aw@yahoo-inc.com>
> > Subject: Re: How to make LZO work?
> > To: core-user@hadoop.apache.org
> > Date: Friday, October 10, 2008, 7:44 AM
> > On 10/9/08 6:46 PM, "Songting Chen"
> > <ken_cst1998@yahoo.com> wrote:
> > > Does that mean I have to rebuild the native
> library?
> > > 
> > > 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?
> > 
> > 
> >     You need to compile and install lzo2 as a shared
> > library.  IIRC, this is
> > not the default.
> >    
> > 
> >     Also, the shared version (.so) will need to be
> part of
> > your link path
> > (LD_LIBRARY_PATH env var, /etc/ld.so.conf on Linux,
> runtime
> > option (usually
> > -R) to ld, ...) when you fire up the JVM so that Java
> can
> > locate it when it
> > needs it.

Mime
View raw message