Re: RPM RH9.0 conflict with unixODBC - Mailing list pgsql-general

From Gaetano Mendola
Subject Re: RPM RH9.0 conflict with unixODBC
Date
Msg-id 3FC3BDB9.5060804@bigfoot.com
Whole thread Raw
In response to Re: RPM RH9.0 conflict with unixODBC  (Steve Wampler <swampler@noao.edu>)
Responses Re: RPM RH9.0 conflict with unixODBC
List pgsql-general
Steve Wampler wrote:

> On Tue, 2003-11-25 at 12:39, Gaetano Mendola wrote:
>
>>Sander Steffann wrote:
>
> ...
>
>>>In short: both filesizes are correct, and I can't explain it :(
>>>Sander.
>>
>>However 6MB of difference for postgresql-server-7.4-0.3PGDG.i386.rpm
>>and     2.2 MB for postgresql-contrib-7.4-0.3PGDG.i386.rpm
>>are too much !
>
>
> If you do a 'file' command on the executables does one set show
> up stripped while the other doesn't.  The sizes of individual
> files are consistent with that difference (roughly).
>
> If they are the same, and 'ldd' shows the same set of shared
> libraries loaded, then look at the sizes of the non-shared
> libraries used on the two OS versions.

This mean that file for 9.0 must be stripped ?

RHAS-2.1:
tsearch2.so   152888 bytes

RH9.0:
tsearch2.so   951236 bytes



compiling this file from a postgresql-7.4.tar.gz
on a RH9.0 I obtain:
libtsearch2.so.0.0   158565 bytes

that is most like a RHAS2.1 size.

RH9.0 where I compiled the tar.gz:

ldd libtsearch2.so.0.0
         libm.so.6 => /lib/tls/libm.so.6 (0x4003d000)
         libc.so.6 => /lib/tls/libc.so.6 (0x42000000)
         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

RH9.0:

ldd tsearch2.so
         libm.so.6 => /lib/tls/libm.so.6 (0x40040000)
         libc.so.6 => /lib/tls/libc.so.6 (0x42000000)
         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

RHAS2.1:

ldd tsearch2.so
         libm.so.6 => /lib/i686/libm.so.6 (0x4002c000)
         libc.so.6 => /lib/i686/libc.so.6 (0x4004f000)
         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)



RHAS-2.1:

 > gdb tsearch2.so
GNU gdb Red Hat Linux (5.3post-0.20021129.18rh)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...(no debugging
symbols found)...


RH9.0:

 > gdb tsearch2.so
GNU gdb Red Hat Linux (5.3post-0.20021129.18rh)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...

note that there is no warning about the debugging symbols :-(


is strange because the gdb on libtsearch2.so.0.0  ( 158565 bytes )
don't complain neather about the debugging symbols...

Am I crazy ?




Regards
Gateano Mendola











pgsql-general by date:

Previous
From: Robert Treat
Date:
Subject: Re: PostgreSQL is much faster than MySQL, only when...
Next
From: Lamar Owen
Date:
Subject: Re: RPM RH9.0 conflict with unixODBC