‹ jan0sch.de

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

2014-06-13

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

% 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.

# 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.

# 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