LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] glibc problem

[ILUG] glibc problem

Dave Neary dave.neary at palamon.ie
Fri Sep 21 10:18:36 IST 2001


Padraig Brady wrote:
> 
> Default RH7.1 install it works fine for me (gcc version 2.96).
> Note I've glibc 2.2.2 also which gives the same nm output as
> you have.
> 
> Padraig.

D'oh! OK - everything I said before is right, but... I tried the
following, and it led me up the right path.

$ ls -l /usr/lib/libc.so
libc.so 178 bytes (to cut a long story short)
That didn't look right, so I checked...
$ rpm -qf /usr/lib/libc.so
glibc-devel-2.1.91-18

Ahhh! The mist falls. Upgrade glibc-devel, all's well. But why??? Well, 
$ cat /usr/lib/libc.so
/* GNU ld script
   Use the shared library, but some functions are only in
   the static library, so try that secondarily.  */
GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a )

$ nm /usr/lib/libc_nonshared.a | grep atexit
atexit.oS:
         U __cxa_atexit
00000000 T atexit

aha! I don't know what changed, but I'd assume that atexit didn't
existin the old libc_nonshared.a (or equivalent), or that the old redhat
/usr/lib/libc.so failed to specify a static lib - anyone on a RedHat 7.0
or 6.95 box verify that in glibc 2.1.91?

Thanks for the help,
Dave.

-- 
David Neary,               E-Mail dave.neary at palamon.ie
Palamon Technologies Ltd.  Phone +353-1-634-5059




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell