chromium-browser does not work with nimf

Bug #1576015 reported by Hodong Kim
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Chromium Browser
New
Undecided
Unassigned
Linux Mint
New
Undecided
Unassigned
chromium-browser (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

chromium-browser does not work with nimf which is an input method framework.

You can download nimf at https://launchpad.net/~hodong/+archive/ubuntu/nimf
Run the following command in gnome-terminal.

sudo add-apt-repository ppa:hodong/nimf
sudo apt update
sudo apt install nimf
im-config -n nimf

Then, logout, login.

Run chromium-browser in gnome-terminal.
Then, you can see the following message.

[libprotobuf FATAL ../../third_party/protobuf/src/google/protobuf/stubs/common.cc:61] This program requires version 2.6.0 of the Protocol Buffer runtime library, but the installed version is 2.5.0. Please update your library. If you compiled the program yourself, make sure that your headers are from the same version of Protocol Buffers as your link-time library. (Version verification failed in "/build/mir-pkdHET/mir-0.21.0+16.04.20160330/obj-x86_64-linux-gnu/src/protobuf/mir_protobuf.pb.cc".)

chromium-browser in Ubuntu 16.04 is different from chromium in Debian Jessie.
chromium-browser in Ubuntu 16.04 includes libraries.

/usr/lib/chromium-browser/libs/libprotobuf_lite.so is different from
/usr/lib/x86_64-linux-gnu/libprotobuf-lite.so

This is the problem.

------------
hodong@hodong-All-Series:/usr/lib/chromium-browser$ ./chromium-browser
[libprotobuf FATAL ../../third_party/protobuf/src/google/protobuf/stubs/common.cc:61] This program requires version 2.6.0 of the Protocol Buffer runtime library, but the installed version is 2.5.0. Please update your library. If you compiled the program yourself, make sure that your headers are from the same version of Protocol Buffers as your link-time library. (Version verification failed in "/build/mir-pkdHET/mir-0.21.0+16.04.20160330/obj-x86_64-linux-gnu/src/protobuf/mir_protobuf.pb.cc".)
Aborted (core dumped)
hodong@hodong-All-Series:/usr/lib/chromium-browser$ ldd chromium-browser | grep proto
 libsync_proto.so => /usr/lib/chromium-browser/./libs/libsync_proto.so (0x00007f6e52652000)
 libcloud_policy_proto_generated_compile.so => /usr/lib/chromium-browser/./libs/libcloud_policy_proto_generated_compile.so (0x00007f6e51027000)
 libprotobuf_lite.so => /usr/lib/chromium-browser/./libs/libprotobuf_lite.so (0x00007f6e5090d000)
 libcloud_policy_proto.so => /usr/lib/chromium-browser/./libs/libcloud_policy_proto.so (0x00007f6e4f085000)
 libcc_proto.so => /usr/lib/chromium-browser/./libs/libcc_proto.so (0x00007f6e4432b000)

root@hodong-All-Series:/usr/lib/chromium-browser/libs# mv libprotobuf_lite.so libprotobuf_lite.so-orig

hodong@hodong-All-Series:/usr/lib/chromium-browser$ ldd chromium-browser | grep proto
 libsync_proto.so => /usr/lib/chromium-browser/./libs/libsync_proto.so (0x00007f7faf581000)
 libcloud_policy_proto_generated_compile.so => /usr/lib/chromium-browser/./libs/libcloud_policy_proto_generated_compile.so (0x00007f7fadf56000)
 libprotobuf_lite.so => not found
 libcloud_policy_proto.so => /usr/lib/chromium-browser/./libs/libcloud_policy_proto.so (0x00007f7fac1be000)
 libprotobuf_lite.so => not found
 libprotobuf_lite.so => not found
 libcc_proto.so => /usr/lib/chromium-browser/./libs/libcc_proto.so (0x00007f7fa147c000)
 libprotobuf_lite.so => not found
 libprotobuf_lite.so => not found
 libprotobuf_lite.so => not found
 libprotobuf_lite.so => not found
 libprotobuf_lite.so => not found
 libprotobuf_lite.so => not found
 libprotobuf_lite.so => not found
 libprotobuf_lite.so => not found
 libprotobuf_lite.so => not found
 libprotobuf_lite.so => not found
 libprotobuf_lite.so => not found

root@hodong-All-Series:/usr/lib/chromium-browser/libs# ln -sf /usr/lib/x86_64-linux-gnu/libprotobuf-lite.so libprotobuf_lite.so

hodong@hodong-All-Series:/usr/lib/chromium-browser$ chromium-browser
/usr/lib/chromium-browser/chromium-browser: symbol lookup error: /usr/lib/chromium-browser/libs/libnet.so: undefined symbol: _ZN6google8protobuf8internal14GetEmptyStringB5cxx11Ev

hodong@hodong-All-Series:/usr/lib/x86_64-linux-gnu$ strings libprotobuf* | grep GetEmptyString
const string& google::protobuf::internal::GetEmptyStringAlreadyInited()
_ZZN6google8protobuf8internal27GetEmptyStringAlreadyInitedB5cxx11EvE19__PRETTY_FUNCTION__
const string& google::protobuf::internal::GetEmptyStringAlreadyInited()
_ZZN6google8protobuf8internal27GetEmptyStringAlreadyInitedB5cxx11EvE19__PRETTY_FUNCTION__
const string& google::protobuf::internal::GetEmptyStringAlreadyInited()
_ZZN6google8protobuf8internal27GetEmptyStringAlreadyInitedB5cxx11EvE19__PRETTY_FUNCTION__
const string& google::protobuf::internal::GetEmptyStringAlreadyInited()
_ZZN6google8protobuf8internal27GetEmptyStringAlreadyInitedB5cxx11EvE19__PRETTY_FUNCTION__
const string& google::protobuf::internal::GetEmptyStringAlreadyInited()
_ZZN6google8protobuf8internal27GetEmptyStringAlreadyInitedB5cxx11EvE19__PRETTY_FUNCTION__
const string& google::protobuf::internal::GetEmptyStringAlreadyInited()
_ZZN6google8protobuf8internal27GetEmptyStringAlreadyInitedB5cxx11EvE19__PRETTY_FUNCTION__
const string& google::protobuf::internal::GetEmptyStringAlreadyInited()
const string& google::protobuf::internal::GetEmptyStringAlreadyInited()
const string& google::protobuf::internal::GetEmptyStringAlreadyInited()
const string& google::protobuf::internal::GetEmptyStringAlreadyInited()
const string& google::protobuf::internal::GetEmptyStringAlreadyInited()
const string& google::protobuf::internal::GetEmptyStringAlreadyInited()
const string& google::protobuf::internal::GetEmptyStringAlreadyInited()
const string& google::protobuf::internal::GetEmptyStringAlreadyInited()
const string& google::protobuf::internal::GetEmptyStringAlreadyInited()
const string& google::protobuf::internal::GetEmptyStringAlreadyInited()
const string& google::protobuf::internal::GetEmptyStringAlreadyInited()
const string& google::protobuf::internal::GetEmptyStringAlreadyInited()
const string& google::protobuf::internal::GetEmptyStringAlreadyInited()
const string& google::protobuf::internal::GetEmptyStringAlreadyInited()
const string& google::protobuf::internal::GetEmptyStringAlreadyInited()
const string& google::protobuf::internal::GetEmptyStringAlreadyInited()
const string& google::protobuf::internal::GetEmptyStringAlreadyInited()
const string& google::protobuf::internal::GetEmptyStringAlreadyInited()
-------------

But, google-chrome and chromium in Debian Jessie work fine with nimf.
Try it.

Google Chrome
https://www.google.com/chrome/browser/desktop/index.html

Chromium in Debian Jessie

https://packages.debian.org/jessie/chromium
https://packages.debian.org/jessie/amd64/chromium/download
https://packages.debian.org/jessie/libjpeg62-turbo
https://packages.debian.org/jessie/amd64/libjpeg62-turbo/download

Hodong Kim (hodong)
description: updated
description: updated
Hodong Kim (hodong)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in chromium-browser (Ubuntu):
status: New → Confirmed
Revision history for this message
Tom (6-tom-3) wrote :

Also occurred when trying to set up the uim IME in Linux Mint:

tom@cobra ~ $ chromium-browser
Using PPAPI flash.
[libprotobuf FATAL ../../third_party/protobuf/src/google/protobuf/stubs/common.cc:78] This program was compiled against version 2.5.0 of the Protocol Buffer runtime library, which is not compatible with the installed version (3.0.0). Contact the program author for an update. If you compiled the program yourself, make sure that your headers are from the same version of Protocol Buffers as your link-time library. (Version verification failed in "out_linux/Release/obj/gen/proto_out/config/config.pb.cc".)
Aborted

Revision history for this message
Tom (6-tom-3) wrote :

Issue still present on Mint 17.3, chromium-browser 53.0.2785.143-0ubuntu0.14.04.1.1145.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.