[lug] Redhat 9 Library Linking problems

D. Stimits stimits at attbi.com
Fri May 23 16:50:37 MDT 2003


Andrew Gilmore wrote:

> I recently did an upgrade to Redhat 9 on my laptop.
>
> Things appear to have gone well.
>
> Sometime since that upgrade, and perhaps due to updates from up2date?
> linking fails to create executables.
>
> I've tried several different compliations, but they all seem to fail.
> However, they work as root!
>
> It looks like a libc problem?
>
> Here are the glibc rpms installed:
> glibc-kernheaders-2.4-8.10
> glibc-devel-2.3.2-27.9
> glibc-2.3.2-27.9
> glibc-common-2.3.2-27.9
>
> Here is an example:
>
> [agilmore at somehost cabextract-0.6]$ make
> gcc  -g -O2  -o cabextract  cabextract.o
> /lib/libc.so.6: undefined reference to

Perhaps the /lib/libc.so.6 (a sym link ot a real file somewhere in the 
same directory) is telling you that only root has permission to read the 
file. See if the lib pointed to has minimum perms r-xr-xr-x.

D. Stimits, stimits AT attbi DOT com
...




More information about the LUG mailing list