Creating the following symbolic links allowed me to run the Python example 
without error. Is there a way to avoid having to create these links?

*ln -s -T /usr/lib/libprotobuf.so.7.0.0 /usr/lib64/libprotobuf.so.7*
*ln -s -T /usr/lib/libprotoc.so.7.0.0 /usr/lib64/libprotoc.so.7*

Thanks,
Josh

On Wednesday, April 3, 2013 6:49:24 PM UTC-7, Josh Mahoney wrote:
>
> Had trouble attaching (#340 error) - so, hopefully you can access the log 
> here: 
> https://docs.google.com/file/d/0B-twedDYS-4sVEFkaVdFMUNRa1E/edit?usp=sharing
>
>
> On Wednesday, April 3, 2013 6:14:01 PM UTC-7, Feng Xiao wrote:
>>
>> Hmm... Can you attach the output of "make install"? It should contain the 
>> information of where the libraries are installed.
>>
>> On Wed, Apr 3, 2013 at 6:08 PM, Josh Mahoney <josham...@gmail.com> wrote:
>>
>>> After doing "make uninstall":
>>>
>>> *protoc --version
>>> -bash: /usr/bin/protoc: No such file or directory*
>>>
>>>
>>> On Wednesday, April 3, 2013 5:53:26 PM UTC-7, Feng Xiao wrote:
>>>
>>>> Seems the installation has failed, but not entirely (as you can still 
>>>> call protoc).
>>>> Can you uninstall it and check if a pre-installed one exists in your 
>>>> system (check "protoc --version" after uninstallation)?
>>>>
>>>>
>>>> On Wed, Apr 3, 2013 at 5:48 PM, Josh Mahoney <josham...@gmail.com>wrote:
>>>>
>>>>> I'm installing 2.4.1
>>>>>
>>>>> protoc --version returns:
>>>>> protoc: error while loading shared libraries: libprotobuf.so.7: cannot 
>>>>> open shared object file: No such file or directory
>>>>>
>>>>> libprotobuf.so.7 does exist in /usr/lib
>>>>>
>>>>> Thanks,
>>>>> Josh
>>>>>
>>>>>
>>>>> On Wednesday, April 3, 2013 5:40:01 PM UTC-7, Feng Xiao wrote:
>>>>>
>>>>>> Which version of protobuf did you use? Can you check the result of 
>>>>>> running "protoc --version"?
>>>>>>
>>>>>> On Wed, Apr 3, 2013 at 5:03 PM, Josh Mahoney <josham...@gmail.com>wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> After installing protobuf, including the python version, I receive 
>>>>>>> the following error when attempting to use it:
>>>>>>>
>>>>>>> Traceback (most recent call last):
>>>>>>>   File "/var/www/django_projects/**tcba**se/fts/indexupdater/**
>>>>>>> updater.**py", line 9, in <module>
>>>>>>>     from metadata_indexer import metadata_indexer
>>>>>>>   File "/var/www/django_projects/**tcba**se/fts/indexupdater/**
>>>>>>> metadata_**indexer.py", line 1, in <module>
>>>>>>>     import meta_tc2_pb2
>>>>>>>   File "/var/www/django_projects/**tcba**se/fts/indexupdater/meta_**
>>>>>>> tc2_**pb2.py", line 3, in <module>
>>>>>>>     from google.protobuf import descriptor
>>>>>>>   File "/usr/lib64/python2.6/site-**pac**kages/protobuf-2.4.1-py2.6-
>>>>>>> **lin**ux-x86_64.egg/google/**protobuf/**descriptor.py", line 42, 
>>>>>>> in <module>
>>>>>>>     from google.protobuf.internal import cpp_message
>>>>>>>   File "/usr/lib64/python2.6/site-**pac**kages/protobuf-2.4.1-py2.6-
>>>>>>> **lin**ux-x86_64.egg/google/**protobuf/**internal/cpp_message.**py", 
>>>>>>> line 38, in <module>
>>>>>>>     from google.protobuf.internal import _net_proto2___python
>>>>>>> ImportError: libprotobuf.so.7: cannot open shared object file: No 
>>>>>>> such file or directory
>>>>>>>
>>>>>>> The machine runs CentOS 6.3 with python2.6. I installed protobuf 
>>>>>>> with:
>>>>>>> ./configure --prefix=/usr
>>>>>>> make
>>>>>>> make install
>>>>>>> cd python
>>>>>>> export PROTOCOL_BUFFERS_PYTHON_**IMPLEM**ENTATION=cpp
>>>>>>> python setup.py install
>>>>>>>
>>>>>>> What other information can I provide you to help determine the issue?
>>>>>>>
>>>>>>> Thanks for any help.
>>>>>>>  
>>>>>>> - Josh
>>>>>>>
>>>>>>> -- 
>>>>>>> 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+u...@**googlegroups.com**.
>>>>>>> To post to this group, send email to prot...@googlegroups.com.
>>>>>>>
>>>>>>> Visit this group at http://groups.google.com/**group**
>>>>>>> /protobuf?hl=en <http://groups.google.com/group/protobuf?hl=en>.
>>>>>>> For more options, visit 
>>>>>>> https://groups.google.com/**grou**ps/opt_out<https://groups.google.com/groups/opt_out>
>>>>>>> .
>>>>>>>  
>>>>>>>  
>>>>>>>
>>>>>>
>>>>>>  -- 
>>>>> 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+u...@**googlegroups.com.
>>>>> To post to this group, send email to prot...@googlegroups.com.
>>>>> Visit this group at 
>>>>> http://groups.google.com/**group/protobuf?hl=en<http://groups.google.com/group/protobuf?hl=en>
>>>>> .
>>>>> For more options, visit 
>>>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>>>>> .
>>>>>  
>>>>>  
>>>>>
>>>>
>>>>  -- 
>>> 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+u...@googlegroups.com.
>>> To post to this group, send email to prot...@googlegroups.com.
>>> Visit this group at http://groups.google.com/group/protobuf?hl=en.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>  
>>>  
>>>
>>
>>

-- 
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 http://groups.google.com/group/protobuf?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to