Uable to start chromium-browser (48.0.2564.109-0ubuntu0.12.04.1.987) with lacking libstdc++.so.6 of the version `GLIBCXX_3.4.18' and the version `GLIBCXX_3.4.19'

Asked by kzn.netJ on 2016-02-27

I've a trouble that I can't start chromium-browser (48.0.2564.109-0ubuntu0.12.04.1.987).
Please give me the information to resolve this trouble.

And I'd like to know that the following is effective in this case.

$ sudo add-apt-repository ppa:ubuntu-toolchain-r/test
$ sudo apt-get update
$ sudo apt-get install libstdc++6-4.7-dev

from: http://askubuntu.com/questions/306467/usr-lib-i386-linux-gnu-libstdc-so-6-version-glibcxx-3-4-19-not-found/306477#306477

1.The detail of this trouble is the below.

1) After I updated chromium-browser to 48.0.2564.109-0ubuntu0.12.04.1.987
   I tried to click chromium's icon in the dash but it didn't open window and it seemed like not start.
   I've tried to start on the command-line in a terminal and then I got the result following.

user@host:~$ chromium-browser
/usr/lib/chromium-browser/chromium-browser: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.18' not found (required by /usr/lib/chromium-browser/chromium-browser)
/usr/lib/chromium-browser/chromium-browser: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.18' not found (required by /usr/lib/chromium-browser/libs/libnet.so)
/usr/lib/chromium-browser/chromium-browser: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.19' not found (required by /usr/lib/chromium-browser/libs/libskia.so)

2) I tried to check the version of "/usr/lib/x86_64-linux-gnu/libstdc++.so.6" and then I got the result following.

user@host:~$ strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_3.4.14
GLIBCXX_3.4.15
GLIBCXX_3.4.16
GLIBCXX_DEBUG_MESSAGE_LENGTH

3) I tried to install the last version of "libstdc++.so.6" and then I got the result following.

user@host:~$ sudo apt-get install libstdc++6
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています
状態情報を読み取っています... 完了
libstdc++6 はすでに最新バージョンです。 ← This line shows that "libsted++6" is the last version.
アップグレード: 0 個、新規インストール: 0 個、削除: 0 個、保留: 0 個。

4) I show the additional infromation follwing.

user@host:~$ cat /etc/os-release
NAME="Ubuntu"
VERSION="12.04.5 LTS, Precise Pangolin"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu precise (12.04.5 LTS)"
VERSION_ID="12.04"

user@host:~$ cat /proc/version
Linux version 3.2.0-99-generic (buildd@lgw01-49) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #139-Ubuntu SMP Mon Feb 1 23:16:15 UTC 2016

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu chromium-browser Edit question
Assignee:
No assignee Edit question
Solved by:
kzn.netJ
Solved:
2016-02-28
Last query:
2016-02-28
Last reply:
2016-02-27

See here for answers:

https://answers.launchpad.net/ubuntu/+source/chromium-browser/+question/286573

It includes links to several bug reports.

If you want a secure version of the Chromium browser, I suggest waiting until Ubuntu 16.04 LTS is released in April and then installing Ubuntu 16.04 LTS.

Ideally with a clean install.

kzn.netJ (kznj) said : #3

>Ideally with a clean install.

After purging chromium-browser, I've tried to re-install chromium-browser.
But unfortunately the same error message was displayed after "48.0.2564.109-0ubuntu0.12.04.1.987" was downloaded.

And after this I've gotten another question for this trouble.
"Why is chromium-browser updated to 48.0.2564.109-0ubuntu0.12.04.1.987?"

The package name "48.0.2564.109-0ubuntu0.12.04.1.987" includes "12.04".
But watching the url "https://launchpad.net/ubuntu/%2Bsource/chromium-browser", it guesses that "48.0.2564.xxx" is for the later version than "precise".

I confirmed the ppa setting in /etc/apt/sourse.list. That is the below.

deb http://ppa.launchpad.net/canonical-chromium-builds/stage/ubuntu precise main

It's supposed to download the one for "precise".

And At last I've resolved this trouble by the following.

1) Watching the url "https://launchpad.net/ubuntu/precise/amd64/chromium-browser", I've found the package "chromium-browser_37.0.2062.120-0ubuntu0.12.04.2_amd64.deb" published at "2016-02-25 01:13:47 UTC" for "precise".

2) I've downloaded the 3 related packages to do like "sudo dpkg -i chromium-browser_37.0.2062.120-0ubuntu0.12.04.2_amd64.deb chromium-browser-l10n_37.0.2062.120-0ubuntu0.12.04.2_all.deb chromium-codecs-ffmpeg-extra_37.0.2062.120-0ubuntu0.12.04.2_amd64.deb".