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