The solution of the dependency library under Fedora

Source: Internet
Author: User

Reproduced in http://blog.sina.com.cn/s/blog_6f74890d0101dpp4.html

Troubleshooting tips for opening shared object files in the x86_64 version of Fedora ——— take the QQ for Linux installation as an example

The first step, installed after the official QQ for Linux, running QQ, prompted as follows, missing libgtk-x11-2.0.so.0 files:

[[email protected] downloads]# QQ

./qq:error while loading shared libraries:libgtk-x11-2.0.so.0:cannot open Shared object file:no such file or directory

In fact libgtk-x11-2.0.so.0 This file we use the Whereis command can be found in the/lib64 directory, but we use the QQ for Linux is based on the i386 version, QQ for Linux program in the search for shared object files will go to/ Lib under the search, so we have to do is to i386 the corresponding installation package.

The second step is to search for the package that contains the shared object file:

[email protected] downloads]# Yum provides/*libgtk-x11-2.0.so.0/*

can see:

Gtk2-2.12.9-5.fc9.i386:the GIMP ToolKit (GTK +), a library for creating GUIs

: For X

Matched from:

other:libgtk-x11-2.0.so.0

Filename:/usr/lib/libgtk-x11-2.0.so.0

Here we can see that libgtk-x11-2.0.so.0 is provided by the gtk2-2.12.9-5.fc9.i386 package.

The third step is to install the missing i386 version of the gtk2-2.12.9-5.fc9.i386 package.

First use Yum to look at the source of GTK2, here can not be used in Yumex,yumex is unable to list the i386 version of the package.

[email protected] downloads]# Yum list gtk2

can see:

gtk2.x86_64 2.12.11-1.FC9 Installed

Available Packages

gtk2.i386 2.12.11-1.FC9 Updates

Next install this gtk2.i386:

[Email protected] downloads]# yum-y install gtk2.i386

Summarize:

In the future, if you open the shared object file fails, first use Yum to find the shared object file provider (installation package), and then the package can be.

This method can also solve the problem of opening a shared object file that is prompted when installing Googleearthlinux.bin

The solution of the dependency library under Fedora

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.