Return-Path: X-Original-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 30BD491C1 for ; Sat, 28 Jan 2012 01:31:12 +0000 (UTC) Received: (qmail 65736 invoked by uid 500); 28 Jan 2012 01:31:11 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 65681 invoked by uid 500); 28 Jan 2012 01:31:10 -0000 Mailing-List: contact mapreduce-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-user@hadoop.apache.org Delivered-To: mailing list mapreduce-user@hadoop.apache.org Received: (qmail 65673 invoked by uid 99); 28 Jan 2012 01:31:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Jan 2012 01:31:09 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jieli@cs.duke.edu designates 152.3.140.1 as permitted sender) Received: from [152.3.140.1] (HELO duke.cs.duke.edu) (152.3.140.1) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Jan 2012 01:31:04 +0000 Received: from mail-iy0-f176.google.com (mail-iy0-f176.google.com [209.85.210.176]) (authenticated bits=0) by duke.cs.duke.edu (8.14.5/8.14.5) with ESMTP id q0S1Ug97013203 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=FAIL) for ; Fri, 27 Jan 2012 20:30:42 -0500 (EST) X-DKIM: Sendmail DKIM Filter v2.8.3 duke.cs.duke.edu q0S1Ug97013203 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=cs.duke.edu; s=mail; t=1327714242; bh=BLfhLpTzSBZOvp62DF7I/DpaYgAI/3R/L7k6Y66db+o=; h=MIME-Version:In-Reply-To:References:Date:Message-ID:Subject:From: To:Content-Type; b=fEpKUVSQLAZzhMUbu+KZlKg5qlIcMkFv3oNBm5MbXGTR0W2/BA8xD5gLH4ciTyLoS ajrygK/KPQvfrYEX2JfsS82eQWjam/DcUU203srlJpShuEs2lco7BjuAOHR2ngKeXG ePLFk52Fo3E4fOHweOJ6M/DfQvaG3C4IBcal1e0KBgjXo6Qt4Blp4NYfaeoDEQdUwz pgiDQv0Xnf6X6b2srypNqnpw2LN5C4IHMJjBGIMSgzuVKjV73eeOKW5cksydoxHb5Z O9ROuI24QNmvdBBg8VpIfhOmrkt6q8r6pviFcbaEfYlCa57vGxj0+OvZgix5FGITJy RegUKeIsJMfKw== Received: by iagz35 with SMTP id z35so4010475iag.35 for ; Fri, 27 Jan 2012 17:30:42 -0800 (PST) MIME-Version: 1.0 Received: by 10.50.57.234 with SMTP id l10mr8700675igq.12.1327714242202; Fri, 27 Jan 2012 17:30:42 -0800 (PST) Received: by 10.231.3.140 with HTTP; Fri, 27 Jan 2012 17:30:42 -0800 (PST) In-Reply-To: References: Date: Fri, 27 Jan 2012 20:30:42 -0500 Message-ID: Subject: Re: Issues while building hadoop trunk From: Jie Li To: mapreduce-user@hadoop.apache.org Content-Type: multipart/alternative; boundary=14dae9341117c50ad604b78c8fcf --14dae9341117c50ad604b78c8fcf Content-Type: text/plain; charset=ISO-8859-1 I got this error before. I solved as below: 1: check if the current proto buf is 2.4.1, if not, uninstall it and install the 2.4.1 version 2: "error while loading shared libraries: libprotobuf.so.7: cannot open shared object file: No such file or directory" This is a known issue for Linux, and is caused by a stale cache of libraries. Run ldconfig and try again. Jie On Mon, Jan 23, 2012 at 5:21 PM, Ronald Petty wrote: > Hello, > > Have you confirmed the proto libs exist on your system? > > Regards, > > Ron > > > On Monday, January 23, 2012, rajesh putta wrote: > > Hi Harsh, > > even after setting LD_LIBRARY_PATH variable still i am > > getting the same error. > > > > Thanks > > Rajesh Putta > > > > On Tue, Jan 24, 2012 at 1:11 AM, Harsh J wrote: > >> Hi, > >> > >> On Tue, Jan 24, 2012 at 1:00 AM, rajesh putta > wrote: > >>> While building hadoop trunk i came across the following error.Can any > >>> one guide me what is the issue behind this failure. > >>> > >>> main: > >>> [exec] protoc: error while loading shared libraries: > >>> libprotobuf.so.7: cannot open shared object file: No such file or > >>> directory > >> > >> You need the dir that contains libprotobuf.so.7 on your > >> LD_LIBRARY_PATH. For instance, if /usr/local/lib carries it, ensure > >> you do: > >> > >> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib > >> > >> Before you run the maven build. > >> > >> -- > >> Harsh J > >> Customer Ops. Engineer, Cloudera > > > --14dae9341117c50ad604b78c8fcf Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I got this error before. I solved as below:

1:=A0 check if the curre= nt proto buf is 2.4.1, if not, uninstall it and install the=A0 2.4.1 versio= n

2:=A0 "error while loading shared libraries: libprotobuf.so.7= : cannot open shared object file: No such file or directory"
This is a known issue for Linux, and is caused by a stale cache of librarie= s. Run ldconfig and try again.

Jie

On Mon, Jan 23, 2012 at 5:21 PM, Ronald Petty <ronald.petty@gmail.com> w= rote:
Hello,

Have you confirmed the proto l= ibs exist on your system?

Regards,

Ron
<= div class=3D"h5">

On Monday, January 23, 2012, rajesh putta <rajesh.putt@gmail.com> wrote:<= br> > Hi Harsh,
> =A0 =A0 =A0 =A0 even after setting LD_LIBRARY_PATH v= ariable still i am
> getting the same error.
>
> Thanks> Rajesh Putta
>
> On Tue, Jan 24, 2012 at 1:11 AM, Harsh = J <harsh@clouder= a.com> wrote:
>> Hi,
>>
>> On Tue, Jan 24, 2012 at 1:00 AM, rajes= h putta <raje= sh.putt@gmail.com> wrote:
>>> While building hadoop trun= k i came across the following error.Can any
>>> one guide me what is the issue behind this failure.
>>= ;>
>>> main:
>>> =A0 =A0 [exec] protoc: error wh= ile loading shared libraries:
>>> libprotobuf.so.7: cannot open= shared object file: No such file or
>>> directory
>>
>> You need the dir that contai= ns libprotobuf.so.7 on your
>> LD_LIBRARY_PATH. For instance, if /= usr/local/lib carries it, ensure
>> you do:
>>
>>= ; export LD_LIBRARY_PATH=3D$LD_LIBRARY_PATH:/usr/local/lib
>>
>> Before you run the maven build.
>>
>>= ; --
>> Harsh J
>> Customer Ops. Engineer, Cloudera
&g= t;

--14dae9341117c50ad604b78c8fcf--