FedoraForum.org - Fedora Support Forums and Community
Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2007
    Posts
    340
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question libX11.so.6: cannot open shared object file

    I compile a short Icon program and have a linking problem. I already installed glibc.686, which fixed an earlier libX11.so.2 problem. Now I have yet another problem with libX11.so.6. I tried a couple of thing (see below). What can I do to fix this roadblock?

    Michael


    [michael@palm ~]$ icont perm.icn
    Translating:
    perm.icn:
    main
    writelist
    alt
    insert
    perm
    No errors
    Linking:
    [michael@palm ~]$ ./perm
    /home/michael/icon-v950/bin/iconx: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory
    [michael@palm ~]$ su
    Password:
    [root@palm michael]# yum -y install libX11
    Loaded plugins: langpacks, presto, refresh-packagekit
    Package libX11-1.5.0-2.fc17.x86_64 already installed and latest version
    Nothing to do
    [root@palm michael]# man yum
    [root@palm michael]# yum install libX11.686
    Loaded plugins: langpacks, presto, refresh-packagekit
    No package libX11.686 available.
    Error: Nothing to do
    [root@palm michael]# yum provides libX11.so.6
    Loaded plugins: langpacks, presto, refresh-packagekit
    libX11-1.4.99.901-2.fc17.i686 : Core X11 protocol client library
    Repo : fedora
    Matched from:
    Provides : libX11.so.6



    libX11-1.5.0-2.fc17.i686 : Core X11 protocol client library
    Repo : updates
    Matched from:
    Provides : libX11.so.6



    [root@palm michael]# yum install libX11-devel
    Loaded plugins: langpacks, presto, refresh-packagekit
    Resolving Dependencies
    --> Running transaction check
    ---> Package libX11-devel.x86_64 0:1.5.0-2.fc17 will be installed
    --> Processing Dependency: pkgconfig(xcb) >= 1.1.92 for package: libX11-devel-1.5.0-2.fc17.x86_64
    --> Processing Dependency: pkgconfig(xproto) for package: libX11-devel-1.5.0-2.fc17.x86_64
    --> Processing Dependency: pkgconfig(xcb) for package: libX11-devel-1.5.0-2.fc17.x86_64
    --> Processing Dependency: pkgconfig(kbproto) for package: libX11-devel-1.5.0-2.fc17.x86_64
    --> Running transaction check
    ---> Package libxcb-devel.x86_64 0:1.8.1-1.fc17 will be installed
    --> Processing Dependency: pkgconfig(xau) >= 0.99.2 for package: libxcb-devel-1.8.1-1.fc17.x86_64
    ---> Package xorg-x11-proto-devel.noarch 0:7.6-21.fc17 will be installed
    --> Running transaction check
    ---> Package libXau-devel.x86_64 0:1.0.6-3.fc17 will be installed
    --> Finished Dependency Resolution

    Dependencies Resolved

    ================================================== ================================================
    Package Arch Version Repository Size
    ================================================== ================================================
    Installing:
    libX11-devel x86_64 1.5.0-2.fc17 updates 1.0 M
    Installing for dependencies:
    libXau-devel x86_64 1.0.6-3.fc17 fedora 13 k
    libxcb-devel x86_64 1.8.1-1.fc17 updates 164 k
    xorg-x11-proto-devel noarch 7.6-21.fc17 fedora 269 k

    Transaction Summary
    ================================================== ================================================
    Install 1 Package (+3 Dependent packages)

    Total download size: 1.4 M
    Installed size: 5.2 M
    Is this ok [y/N]: y
    Downloading Packages:
    (1/4): libX11-devel-1.5.0-2.fc17.x86_64.rpm | 1.0 MB 00:01
    (2/4): libXau-devel-1.0.6-3.fc17.x86_64.rpm | 13 kB 00:00
    (3/4): libxcb-devel-1.8.1-1.fc17.x86_64.rpm | 164 kB 00:00
    (4/4): xorg-x11-proto-devel-7.6-21.fc17.noarch.rpm | 269 kB 00:00
    --------------------------------------------------------------------------------------------------
    Total 748 kB/s | 1.4 MB 00:01
    Running Transaction Check
    Running Transaction Test
    Transaction Test Succeeded
    Running Transaction
    Installing : xorg-x11-proto-devel-7.6-21.fc17.noarch 1/4
    Installing : libXau-devel-1.0.6-3.fc17.x86_64 2/4
    Installing : libxcb-devel-1.8.1-1.fc17.x86_64 3/4
    Installing : libX11-devel-1.5.0-2.fc17.x86_64 4/4
    Verifying : libXau-devel-1.0.6-3.fc17.x86_64 1/4
    Verifying : libxcb-devel-1.8.1-1.fc17.x86_64 2/4
    Verifying : xorg-x11-proto-devel-7.6-21.fc17.noarch 3/4
    Verifying : libX11-devel-1.5.0-2.fc17.x86_64 4/4

    Installed:
    libX11-devel.x86_64 0:1.5.0-2.fc17

    Dependency Installed:
    libXau-devel.x86_64 0:1.0.6-3.fc17 libxcb-devel.x86_64 0:1.8.1-1.fc17
    xorg-x11-proto-devel.noarch 0:7.6-21.fc17

    Complete!
    [root@palm michael]# ./perm
    /home/michael/icon-v950/bin/iconx: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory

  2. #2
    Yellowman Guest

    Re: libX11.so.6: cannot open shared object file

    You missed the i
    Code:
    yum install libX11.i686

  3. #3
    Join Date
    Jun 2010
    Location
    Lost...
    Posts
    1,300
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: libX11.so.6: cannot open shared object file

    [root@palm michael]# yum install libX11.686
    Loaded plugins: langpacks, presto, refresh-packagekit
    No package libX11.686 available.
    Error: Nothing to do
    You forgot the 'i'
    Code:
    yum install libX11.i686
    By the way, is your program a 32bits or 64bits?

    ---------- Post added at 05:16 PM ---------- Previous post was at 05:16 PM ----------

    Edit: I am late... again...
    :confused:

  4. #4
    Join Date
    Jun 2007
    Posts
    340
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: libX11.so.6: cannot open shared object file

    Thanks, all. Dumb.

    The Icon language for Linux seems to be 32-bit: http://www.cs.arizona.edu/icon/v950/

    So the code produced is probably 32-bit.

    Michael

Similar Threads

  1. realflow - cannot open shared object file
    By thomwickes in forum Using Fedora
    Replies: 0
    Last Post: 12th October 2007, 07:04 PM
  2. cannot open shared object file
    By anitha2324 in forum Using Fedora
    Replies: 1
    Last Post: 2nd October 2007, 03:29 AM
  3. Replies: 2
    Last Post: 22nd June 2007, 02:53 PM
  4. Replies: 2
    Last Post: 21st June 2007, 06:00 PM
  5. Replies: 2
    Last Post: 31st December 2005, 10:06 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •