Posted about 5 years ago. Visible to the public.

Google chrome issues on FreeBSD (GLIBCXX and chrash on sync)

After upgrading my chrome port on FreeBSD 9.3 I got the following error message when I tried to start chrome:

Copy
% chrome /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.11 required by /usr/local/share/chromium/chrome not found

To fix this I had to install the patchelf util and execute to following command.

Copy
# patchelf --set-rpath /usr/local/lib/gcc47 /usr/local/share/chromium/chrome

Afterwards chrome started up but crashed when it tried to synchronize. To fix this the protobuf port had to be reinstalled with some custom CFLAGS.

Copy
# cd /usr/ports/devel/protobuf # CFLAGS=-DGOOGLE_PROTOBUF_NO_RTTI make clean deinstall reinstall clean

Now chrome gives still some error messages on the console but it runs. :-)

There are bug reports on the FreeBSD issue tracker for this: 192928 and 192821

Owner of this card:

Avatar
jan0sch
Last edit:
about 5 years ago
Keywords:
chromium, gcc47, gcc
Posted by jan0sch to jan0sch's deck
This website uses cookies to improve usability and analyze traffic.
Accept or learn more