Unix Technical Forum

different size of libc-2.3.2.so...

This is a discussion on different size of libc-2.3.2.so... within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hi All. I know that I'm reposting.... As You know libc.so.6 is linked to libc-2.3.2.so. Now... in the 9.1 ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2008, 07:07 PM
dryphone
 
Posts: n/a
Default different size of libc-2.3.2.so...

Hi All.
I know that I'm reposting....
As You know libc.so.6 is linked to libc-2.3.2.so.
Now...
in the 9.1 distro we have two libc-2.3.2.so.....

from /var/log/packages...

glibc-2.3.2-i486-1:lib/incoming/libc-2.3.2.so size
1458907
glibc-solibs-2.3.2-i486-1:lib/incoming/libc-2.3.2.so size
1281816

wich is the best ?
or better
what shall I do before doing a mess ?

Thank's in advance for reply

Andrea

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-18-2008, 07:08 PM
Jurgen Philippaerts
 
Posts: n/a
Default Re: different size of libc-2.3.2.so...

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, Oct 25, 2003 at 05:40:48AM PDT, dryphone wrote
in article <kbumb.350453$R32.11526484@news2.tin.it>:

> glibc-2.3.2-i486-1:lib/incoming/libc-2.3.2.so size
> 1458907
> glibc-solibs-2.3.2-i486-1:lib/incoming/libc-2.3.2.so size
> 1281816


> wich is the best ?
> or better
> what shall I do before doing a mess ?


well, depends on what you're planning to do.
do you want to compile things or not ?

after you answer this question, read the package descriptions.
and answer your own question.


Jurgen.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/muEE1ucXIiwNwbURAh5LAJ4iAwydvWCLzBVq0YT/BJnEG1uZBQCfRD5L
E70bdPdXjelkyyvFaKBrjjo=
=Z/j7
-----END PGP SIGNATURE-----
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-18-2008, 07:12 PM
Eef Hartman
 
Posts: n/a
Default Re: different size of libc-2.3.2.so...

dryphone <andsal@nospam.inwind.it> wrote:
> glibc-2.3.2-i486-1:lib/incoming/libc-2.3.2.so size
> 1458907
> glibc-solibs-2.3.2-i486-1:lib/incoming/libc-2.3.2.so size
> 1281816
>
> wich is the best ?


Neither, they're identical.

The one from "solibs" is stripped, does NOT contain debug info anymore,
while the one from the development package DOES, just execute
$ file libc-2.3.2.so
on the libraries from both packages...
glibc-solibs-2.3.2-i486-1:
libc-2.3.2.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), stripped
glibc-2.3.2-i486-1:
libc-2.3.2.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped
^^^
If you don't do development, just install only the "solibs" versions,
it's smaller. You can still compile against it the same.
--
************************************************** ******************
** Eef Hartman, Delft University of Technology, dept. EWI/TWA **
** e-mail: E.J.M.Hartman@math.tudelft.nl, fax: +31-15-278 7295 **
** snail-mail: P.O. Box 5031, 2600 GA Delft, The Netherlands **
************************************************** ******************
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-18-2008, 07:14 PM
dryphone
 
Posts: n/a
Default Re: different size of libc-2.3.2.so...

Eef Hartman ha scritto:

> Neither, they're identical.
>
> The one from "solibs" is stripped, does NOT contain debug info anymore,
> while the one from the development package DOES, just execute
> $ file libc-2.3.2.so
> on the libraries from both packages...
> glibc-solibs-2.3.2-i486-1:
> libc-2.3.2.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), stripped
> glibc-2.3.2-i486-1:
> libc-2.3.2.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped
> ^^^
> If you don't do development, just install only the "solibs" versions,
> it's smaller. You can still compile against it the same.


Eef,
I thank You very much for the answer.
I'm still a newbye....
I didn't think about
file......

in effect I don't do development.
I sould install only the "solibs" versions then.

Andrea

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-18-2008, 07:14 PM
Joost Kremers
 
Posts: n/a
Default Re: different size of libc-2.3.2.so...

dryphone wrote:
> I'm still a newbye....


that's an interesting spelling of the word 'newbie'. hope you're not afraid
of being run out of the NG? ;-)

--
Joost Kremers
since when is vi an editor? a discussion on vi belongs in
comp.tools.unusable or something... ;-)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-18-2008, 07:15 PM
Eef Hartman
 
Posts: n/a
Default Re: different size of libc-2.3.2.so...

dryphone <andsal@nospam.inwind.it> wrote:
> in effect I don't do development.
> I sould install only the "solibs" versions then.


Yes. The glibc-2.3.2 package is different FROM it in that it includes
the header files (.h) and the NON-stripped version of the library,
plus documentation and some other development tools (like profiler,
tracer), nothing you will need if you don't develop programs yourself
(although you will need the headers to just COMPILE other programs
from source). The solibs package includes everything you need to RUN
programs, compiled against the shared C libs.
If you install BOTH, as -solibs comes later in the alphabet, you
get the headers from the development packages, but the libraries from
the -solibs one. Unless you explicitly install them the opposite way,
of course (but everything in solibs is also in glibc-2.3.2, as far as
I know, so then you wouldn't need the -solibs one).
--
************************************************** ******************
** Eef Hartman, Delft University of Technology, dept. EWI/TWA **
** e-mail: E.J.M.Hartman@math.tudelft.nl, fax: +31-15-278 7295 **
** snail-mail: P.O. Box 5031, 2600 GA Delft, The Netherlands **
************************************************** ******************
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:08 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com