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 <[email protected]> wrote:
> Hi,
>
> On Tue, Jan 24, 2012 at 1:00 AM, rajesh putta <[email protected]> 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