Do you happen to install protobuf into /usr instead of the default
/usr/local?

ubuntu 16.04 comes with a default installation of protobuf library and it's
used by unity. Your new installation likely has overridden the default
libprotobuf.so and leads to compatibility issues.

On Tue, Mar 20, 2018 at 3:22 AM, Rémi Pautrat <[email protected]>
wrote:

> Hello everyone,
>
> I have downloaded and compiled the C++ installation of protobuf yesterday
> on my Ubuntu 16.04 and everything seemed to be fine (make check passed
> everything in particular).
>
> Now today when I restarted my computer, I wasn't able to open unity: the
> launcher and top pannel have disappeared and I can't open a terminal with
> the classical shortcut Ctrl + Alt + T for example. When I launch unity in a
> terminal, I get the following error:
>
> /usr/lib/x86_64-linux-gnu/unity/compiz-config-profile-setter:
>  symbol lookup error: /usr/lib/x86_64-linux-gnu/libcompizconfig.so.0:
> undefined symbol: _ZNK6google8protobuf7Message9SpaceUsedEv
>
> It seems that the protobuf installation has messed up with compiz and
> unity.
>
> I have tried several things to fix unity, but nothing worked:
>
>    - Reinstall ubuntu-desktop with
>    sudo apt-get install --reinstall ubuntu-desktop
>    - Reinstall libcompizconfig and also compiz entirely with apt-get.
>    - Reinstall unity with apt-get
>    - Uninstall protobuf with
>    sudo make uninstall
>
>
> Do you have any idea why this happened and how to fix this? I would like
> to completely undo the protobuf install and have unity back as before, but
> obviously sudo make uninstall wasn't enough...
>
Try reinstalling the protobuf package that comes along with ubuntu.
Something like:

sudo apt-get install --reinstall libprotobuf8 libprotobuf-lite8

I'm not sure which version of protobuf is on your ubuntu. libprotobuf8 is
the version the comes with ubuntu 14.04. On ubuntu 16.04, it's probably
libprotobuf9 or similar.


>
> Thanks in advance for your help!
>
> --
> 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 [email protected].
> To post to this group, send email to [email protected].
> 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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to