chrome build error native client : libstdc++.so.6: cannot open shared object file

196 views
Skip to first unread message

Chamal De Silva

unread,
Oct 13, 2012, 11:52:16 PM10/13/12
to chromi...@chromium.org
Hi,

OS : Ubuntu 12.04 - 64 bit.

I encountered this error today while trying to build chrome.

out/Release/obj/gen/sdk/toolchain/linux_x86_pnacl/host_x86_32/bin/clang: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

These are the instructions I used to build chrome.

GYP_DEFINES='asan=1 linux_use_tcmalloc=0 release_extra_cflags="-g" ' gclient runhooks
make -j8 BUILDTYPE=Release chrome

It looks like build system is trying to build 32 bit nacl on my 64 bit system.

Please tell me how to solve this issue. Are there any additional libraries that I have to install?

Thank you,
Chamal.

Takashi Toyoshima

unread,
Oct 14, 2012, 1:37:29 AM10/14/12
to chamal....@gmail.com, chromi...@chromium.org

Hi,

You may need this change.
http://codereview.chromium.org/11141009/

2012/10/14 12:52 "Chamal De Silva" <chamal....@gmail.com>:
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev

Takashi Toyoshima

unread,
Oct 15, 2012, 2:47:24 AM10/15/12
to chamal.desilva, Chromium-dev
Fixed at r161831.
After running gclient sync, please run src/build/install-build-deps.sh.
It will solve your problem.
Reply all
Reply to author
Forward
0 new messages