LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-14-2005, 12:06 AM   #1
spatula
LQ Newbie
 
Registered: Apr 2005
Posts: 2

Rep: Reputation: 0
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.
 
Old 04-14-2005, 10:10 AM   #2
MA_D
Member
 
Registered: Apr 2005
Location: Iowa
Distribution: Archlinux/RHEL/FreeBSD
Posts: 41

Rep: Reputation: 15
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
 
Old 04-14-2005, 12:08 PM   #3
spatula
LQ Newbie
 
Registered: Apr 2005
Posts: 2

Original Poster
Rep: Reputation: 0
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.
 
Old 12-14-2005, 03:48 AM   #4
ingerul
Member
 
Registered: Oct 2004
Location: Romania
Distribution: gentoo
Posts: 34

Rep: Reputation: 15
Same problem here on Fedora Core 4 x86
Code:
[radu@akira hdd1]$ LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/lib ./ZendStudio-5_0_0.bin
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
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

Launching installer...

grep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/tmp/install.dir.4792/Linux/resource/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
And I have glibc version:
Code:
[radu@akira hdd1]$ rpm -q glibc
glibc-2.3.90-18
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
FYI: shared libs and iostream (C++) ta0kira Programming 18 10-26-2007 06:48 AM
Recompile ALL shared libs? ta0kira Programming 3 06-13-2005 12:49 AM
chroot and shared libs not being found. netstv Linux - General 3 11-05-2004 11:36 AM
Qt Libs Static or Shared magicm Slackware 2 10-15-2003 05:05 AM
shared libs hanzerik Linux From Scratch 2 03-14-2002 01:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration