LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 06-18-2004, 05:56 PM   #1
movitto
Member
 
Registered: May 2004
Distribution: Fedora 4 and Slackware
Posts: 179

Rep: Reputation: 30
Question Libc and other libraries


Hi all;

Just a few short and quick questions (and easy for you linux guru's out there ).

Im studying shared libraries in linux and how they are linked at linking time during the compilation process. I travered to the /lib directory and looked at my libc library. As my book said there was a link between the libc.so.6 to the more specifiec release of the library. What confused me was that lib.so.6 was linked to libc-2.2.93.so

My book said that the library name is most usually in the form libc.so.major_number.minor_number. Also why is the '6 version' of libc linked to 2.2.93, which i am assuming is the 2nd version? I could be (and probably am) wrong in my analysis.

My 2nd question is where to download the latest versions of libraries, more specifically libc. I tried the link my book gave me: ftp://ftp.ibiblio.org but I could not find any of the libraries. Also i tried a google/linux but the result was a bunch of giberish.

Anyways, all help is appreciated, and thanks in advance;
Movitto
 
Old 06-18-2004, 07:11 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
gnu libc
that lib you have there is glibc6-2.2.93
as opposed to the old glibc5 series

be carefull upgrading glibc from source -- outside of your package manager
glibc is the core of the system and requires a little knowhow to compile.
So if you install it from source be aware you are putting your system at risk.
also installing glibc (a rather large pile of libs and utilities) from source will put your package manager out of synk with your system sending you off in a new self compiled direction never to return.

at the very least remember to unpack the
Glibc-linuxthreads inside the glibc directory
and use the configure flag
--enable-add-ons
or your system won't work

also there are many subtle problems between versions of glibc and versions of gcc
that can require patches before it will compile
 
Old 06-18-2004, 09:18 PM   #3
movitto
Member
 
Registered: May 2004
Distribution: Fedora 4 and Slackware
Posts: 179

Original Poster
Rep: Reputation: 30
Thank you very much foo_bar_foo your response was very informative and the link you gave was great. Once again thanks for all your help
 
  


Reply



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
still problems in libraries -- libc ? dogbird Linux - Software 2 12-13-2004 07:38 AM
libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.2) needed for Linux 7.3.1 vivek_thampy Linux - Software 1 08-09-2004 04:12 PM
libc.so.6 alperen Linux - Software 1 09-15-2003 11:46 AM
libc.so verse libc.so.5 markstevens Linux - Software 4 06-19-2003 11:41 AM
GNU libc libraries error Kaotica Linux - Software 1 04-16-2003 04:56 AM

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

All times are GMT -5. The time now is 09:52 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