Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 25th October 2012, 06:02 PM
mjrice Offline
Registered User
 
Join Date: Jun 2007
Posts: 198
linuxchrome
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
Reply With Quote
  #2  
Old 25th October 2012, 06:14 PM
Yellowman
Guest
 
Posts: n/a
linuxfirefox
Re: libX11.so.6: cannot open shared object file

You missed the i
Code:
yum install libX11.i686
Reply With Quote
  #3  
Old 25th October 2012, 06:16 PM
Skull One's Avatar
Skull One Offline
Registered User
 
Join Date: Jun 2010
Location: Lost...
Posts: 552
linuxredhatmozilla
Re: libX11.so.6: cannot open shared object file

Quote:
[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:
Reply With Quote
  #4  
Old 25th October 2012, 08:53 PM
mjrice Offline
Registered User
 
Join Date: Jun 2007
Posts: 198
windows_7chrome
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
Reply With Quote
Reply

Tags
file, libx11so6, object, open, shared

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
realflow - cannot open shared object file thomwickes Using Fedora 0 12th October 2007 07:04 PM
cannot open shared object file anitha2324 Using Fedora 1 2nd October 2007 03:29 AM
error while loading shared libraries: libXp.so.6: cannot open shared object file kootharaas Using Fedora 2 22nd June 2007 02:53 PM
error while loading shared libraries: libXp.so.6: cannot open shared object file kootharaas Using Fedora 2 21st June 2007 06:00 PM
error while loading shared libraries: libssl.so.5: cannot open shared object file frold Servers & Networking 2 31st December 2005 09:06 AM


Current GMT-time: 10:40 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat