PDA

View Full Version : glibc issue?


spatula
18th April 2005, 11:04 PM
I am running into problems on Test 2 x86_64 with glibc. Specifically 32 bit apps that use glibc. Yum shows that I have the following installed:

glibc.i686 2.3.5-1 installed
glibc.x86_64 2.3.5-1 installed
glibc-common.x86_64 2.3.5-1 installed
glibc-devel.i386 2.3.5-1 installed
glibc-devel.x86_64 2.3.5-1 installed
glibc-headers.x86_64 2.3.5-1 installed
glibc-kernheaders.x86_64 2.4-9.1.94 installed
glibc-debuginfo.x86_64 2.3.5-1 development
glibc-profile.x86_64 2.3.5-1 development
glibc-utils.x86_64 2.3.5-1 development

But when I try to run a program that uses glibc it dies complaining about not being able to open shared object files. For example when I try to run navicat I get:

/opt/navicat/navicat: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory.

tashirosgt
18th April 2005, 11:42 PM
Do you have libpthread.so.0? Mine is in /lib/i686/ on 32 bit installation. Does the 64 bit version put it there?

spatula
19th April 2005, 01:04 AM

i have /lib/libpthread.so.0 which is a symbolic link to libpthread-2.3.5.so (in the same dir) and I have the exact same setup in /lib64

I'm assuming that the /lib directory is for the 32bit libs?

ghaefb
19th April 2005, 08:33 AM
Also check the /usr/lib/libpthread.so.0 if it exists.
link it with /usr/lib/libpthread.so it it doesn't.

This doesn't work every time, if you can, get a newer rpm or development/testing rpm for FC4.