Bug 1003456

Summary: ccsm requires not provided libprotofbuf
Product: [Fedora] Fedora Reporter: Dave Botsch <botsch>
Component: ccsmAssignee: Wolfgang Ulbrich <fedora>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 19CC: fedora
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-02 18:54:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Dave Botsch 2013-09-02 05:28:48 UTC
Description of problem:

ccsm (and compiz ccp) requires libprotobuf, which is not provided by any package on Fedora 19, from what I can tell. Instead, one must download and compile libprotobuf from code.google.com


Version-Release number of selected component (if applicable):
ccsm-0.8.4-12.fc19.noarch
compiz-0.8.8-25.fc19.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Install compiz/etc
2. Run ccsm
3. Fail

Actual results:
$ ccsm
Traceback (most recent call last):
  File "/usr/bin/ccsm", line 99, in <module>
    import compizconfig
ImportError: libprotobuf.so.7: cannot open shared object file: No such file or directory


Expected results:
ccsm runs


Additional info:
libprotobuf is available from https://code.google.com/p/protobuf/ . You must compile and install version 2.4.1 . And then you must make sure INSTALL_LOC/lib is in your LD_LIBRARY_PATH

This not only affects running ccsm but affects running compiz itself with the "ccp" commandline option.

Comment 1 Wolfgang Ulbrich 2013-09-02 08:59:41 UTC
libprotobuf is needed and called by libcompizconfig-0.8.8-8.fc19.x86_64.
rpmquery --whatprovides /usr/lib64/libprotobuf.so.8
protobuf-2.5.0-4.fc19.x86_64
Which is avaible in the repos.
If you install ccsm, libcompizconfig and protobuf will installed as dependency.

On my systems protobuf-2.5.0-4 is installed and i got no error about missing libprotobuf if i run ccsm from a terminal.

Comment 2 Dave Botsch 2013-09-02 18:54:41 UTC
ack... ok... looks like I somehow still have libcompizconfig from fc17 hanging around. Just have to figure out how to fix that, now, since yum seems a bit confused.