Could you post the output you get when you run ls -l src/.libs/libprotoc*
from inside your untarred protobuf-3.5.0 directory?

On Sun, Dec 10, 2017 at 8:58 PM, maicah <moju...@gmail.com> wrote:

> I have a similar problem: after successfully downloading and un-taring
> protobuf-all-3.5.0.tar.bz, I also successfully ran  ."/confiure", "make"
> and "make check". Then "sudo make install"  failed with:
>
> libtool: install: (cd <my home dir>/downloads/protobuf-3.5.0/src; /bin/sh
> <my home dir>/downloads/protobuf-3.5.0/libtool  --tag CXX --mode=relink
> g++ -pthread -DHAVE_PTHREAD=1 -DHAVE_ZLIB=1 -Wall -Wno-sign-compare -O2 -g
> -DNDEBUG -version-info 15:0:0 -export-dynamic -no-undefined
> -Wl,--version-script=./libprotoc.map -o libprotoc.la -rpath
> /usr/local/lib google/protobuf/compiler/code_generator.lo
> google/protobuf/compiler/command_line_interface.lo
> google/protobuf/compiler/plugin.lo google/protobuf/compiler/plugin.pb.lo
> google/protobuf/compiler/subprocess.lo google/protobuf/compiler/zip_writer.lo
> google/protobuf/compiler/cpp/cpp_enum.lo 
> google/protobuf/compiler/cpp/cpp_enum_field.lo
> goo ===========snip==========
> base.lo google/protobuf/compiler/csharp/csharp_wrapper_field.lo -lpthread
> libprotobuf.la -lz )
> mv: cannot move 'libprotoc.so.15.0.0' to 'libprotoc.so.15.0.0U':
> Permission denied
> libtool: install: error: relink `libprotoc.la' with the above command
> before installing it
> make[3]: *** [install-libLTLIBRARIES] Error 1
>
> It is a permission problem.
>
> On Thursday, January 7, 2010 at 5:37:06 PM UTC-5, mancha wrote:
>>
>> I get these error during make install. make and make check suceeded
>> earlier.
>> Can you please advise how to resolve this.
>>
>> Thanks,
>> Madhav.
>>
>> /usr/bin/ld: /usr/local/lib/libz.a(deflate.o): relocation R_X86_64_32S
>> against `.rodata' can not be used when making a shared object;
>> recompile with -fPIC
>> /usr/local/lib/libz.a: could not read symbols: Bad value
>> collect2: ld returned 1 exit status
>> libtool: install: error: relink `libprotoc.la' with the above command
>> before installing it
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Protocol Buffers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to protobuf+unsubscr...@googlegroups.com.
> To post to this group, send email to protobuf@googlegroups.com.
> Visit this group at https://groups.google.com/group/protobuf.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to