/usr/bin/google-chrome:symbol lookup error:/usr/bin/google-chrome: undefined symbol:gbm_bo_get_modifier

Asked 1 years ago, Updated 1 years ago, 887 views

What do you mean by "symbol lookup error"?

$google-chrome --version

Google Chrome 79.0.3945.79

$sudo yum install https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm

Downloading packages:(1/2):
vulkan-filesystem-1.1.97.0-1.el7.noarch.rpm|
6.3 kB 00:00:00 (2/2): vulkan-1.1.97.0-1.el7.x86_64.rpm | 3.6 MB 00:00:00
--------------------------------------------------------------------------------------------------- Total 4.0
MB/s | 3.6 MB 00:00:00 Running transaction check Running
transaction test Transaction test succeeded Running transaction
Installing: vulkan-filesystem-1.1.97.0-1.el7.noarch
1/4 During installation: vulkan-1.1.97.0-1.el7.x86_64
2/4 Update:
Google-chrome-stable-109.0.5414.119-1.x86_643/4
Organizing: google-chrome-stable-79.0.3945.79-1.x86_64
4/4 Verifying: vulkan-1.1.97.0-1.el7.x86_64
1/4 Validation in progress:
Google-chrome-stable-109.0.5414.119-1.x86_642/4
Verifying: vulkan-filesystem-1.1.97.0-1.el7.noarch
3/4 Verifying:
Google-chrome-stable-79.0.3945.79-1.x86_644/4

Failed to install dependency: vulkan.x86_640:1.1.97.0-1.el7
vulkan-filesystem.noarch0:1.1.97.0-1.el7

updating:google-chrome-stable.x86_640:109.0.5414.119-1

Done!

$google-chrome --version

/usr/bin/google-chrome:symbol lookup error:/usr/bin/google-chrome:
undefined symbol:gbm_bo_get_modifier

Environment
CentOS 7

Error of installing Google Chrome in Centos 7

centos google-chrome

2023-02-02 09:40

1 Answers

"undefined symbol:" is an error that appears when the symbol is not found in the shared library required to run the binary, and "undefined symbol:gbm_bo_get_modifier" appears to be included in libgbm.so.1.

For example, you can use the strings command to verify:

$string/lib64/libgbm.so.1 | grep gbm_bo_get_modifier
gbm_bo_get_modifier

libgbm.so.1 is included in the "mesa-libgbm-18.3.4-12.el7_9.x86_64" package.

$rpm-qf/lib64/libgbm.so.1
mesa-libgbm-18.3.4-12.el7_9.x86_64

I installed CentOS 7 from minimal for this confirmation, and I installed the Chrome rpm file directly as I asked, but there was no problem.
yum automatically installed mesa-libgbm, etc. to resolve dependencies.

proposal 1:

Verify that mesa-libgbm is installed and try yum update to update your system package to the latest state.

proposal 2:

There seems to be a way to use yum localinstall to download the rpm file before installing it.The link below seems to be similar to this case.


2023-02-02 20:14

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.