shared libs help
I just installed the x86_64 version of fedora on a dual opteron system and I am having a lot of problems with shared libraries. Any time I try to install any software (Zend Studio, Navicat, Java) the installers all die.
Java: ./j2re1.4.2/lib/unpack: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory Navicat: ./navicat: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory From what I have read, Fedora does bi-arch and I have the 32bit libraries installed. What exactly am I missing here? I thought that you didn't have to do anything special to run 32bit apps on a bi-arch distribution. |
Do you have a "libstdc++.so.5" file on your system, you might have to make a symlink to your current version.
Hint: ln -s |
The libraries are installed in /lib and /usr/lib. For example, when I try to run the Zend Studio installer, I get:
awk: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory /bin/ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory hostname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory So I ran: [mathew@alice navicat]$ rpm -q --whatprovides libdl.so.2 glibc-2.3.4-21 So I check yum: [mathew@alice navicat]$ yum list glibc\* Setting up repositories development 100% |=========================| 1.1 kB 00:03 extras-development 100% |=========================| 951 B 00:00 Reading repository metadata in from local files Installed Packages glibc.x86_64 2.3.4-21 installed glibc.i686 2.3.4-21 installed glibc-common.x86_64 2.3.4-21 installed glibc-devel.i386 2.3.4-21 installed glibc-devel.x86_64 2.3.4-21 installed glibc-headers.x86_64 2.3.4-21 installed glibc-kernheaders.x86_64 2.4-9.1.90 installed Available Packages glibc-debuginfo.x86_64 2.3.4-21 development glibc-profile.x86_64 2.3.4-21 development glibc-utils.x86_64 2.3.4-21 development This seems to be the same issue with everything that I have tried to install outside of yum. They all complain about shared libs but I know that they are installed. The glibc example shows that I have both the i686 and x86_64 versions installed. I can't figure out what is going on. |
Same problem here on Fedora Core 4 x86
Code:
[radu@akira hdd1]$ LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/lib ./ZendStudio-5_0_0.bin Code:
[radu@akira hdd1]$ rpm -q glibc |
All times are GMT -5. The time now is 01:45 AM. |