www/chromium (from packages) broken on 9.3-RELEASE

Ashish SHUKLA ashish at FreeBSD.org
Wed Aug 27 18:05:12 UTC 2014


Howdy,

Thanks all for your hard work in maintaining the chromium port.

I just installed www/chromium from pkg, and when starting Chromium, I come
across following error message:

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

Then further `objdump` on /usr/local/share/chromium/chrome hinted:

#v+
RPATH       /usr/lib:/usr/local/lib:/usr/local/lib/gcc47
#v-

After patching the chrome binary using the sysutils/patchelf, it seems to work
now:

#v+
# patchelf --set-rpath /usr/local/lib/gcc47 chrome
#v-

OR other workaround could be creating a wrapper script to launch chrome:

#v+
% LD_LIBRARY_PATH=/usr/local/lib/gcc47 chrome
#v-

HTH
-- 
Ashish SHUKLA      | GPG: F682 CDCC 39DC 0FEA E116  20B6 C746 CFA9 E74F A4B0
Sent from my Emacs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-chromium/attachments/20140827/0913f624/attachment.sig>


More information about the freebsd-chromium mailing list