Thread: Error in installing compat-postgresql-libs rpm

Error in installing compat-postgresql-libs rpm

From
Leonard Soetedjo
Date:
Hi,

I'm trying to install PostgreSQL 8.2.0 ony my development box using rpm on
CentOS 4.4.  Currently I'm stuck at installing compat-postgresql-libs with
the following error:

libc.so.6(GLIBC_2.4) is needed by compat-postgresql-libs-4-1PGDG.i386
libcrypto.so.6 is needed by compat-postgresql-libs-4-1PGDG.i386
libkrb5.so.3(krb5_3_MIT) is needed by compat-postgresql-libs-4-1PGDG.i386
libssl.so.6 is needed by compat-postgresql-libs-4-1PGDG.i386

I tried to download the source rpm and compile, but it seems that it comes
with a compiled library?

Does anyone using RHEL4 face the same problem?

Thank you.



Regards,

Leonard Soetedjo

Re: Error in installing compat-postgresql-libs rpm

From
Devrim GUNDUZ
Date:
Hi,

On Wed, 2006-12-06 at 16:43 +0800, Leonard Soetedjo wrote:
> I'm trying to install PostgreSQL 8.2.0 ony my development box using rpm on
> CentOS 4.4.  Currently I'm stuck at installing compat-postgresql-libs with
> the following error:
>
> libc.so.6(GLIBC_2.4) is needed by compat-postgresql-libs-4-1PGDG.i386
> libcrypto.so.6 is needed by compat-postgresql-libs-4-1PGDG.i386
> libkrb5.so.3(krb5_3_MIT) is needed by compat-postgresql-libs-4-1PGDG.i386
> libssl.so.6 is needed by compat-postgresql-libs-4-1PGDG.i386

It should be fixed now. Could you please grab the rpm in
ftp.postgresql.org and test again?

Regards,
--
The PostgreSQL Company - Command Prompt, Inc. 1.503.667.4564
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: plPHP, plPerlNG - http://www.commandprompt.com/





Attachment

Re: Error in installing compat-postgresql-libs rpm

From
Leonard Soetedjo
Date:
Hi,

On Wednesday 06 December 2006 5:26 pm, Devrim GUNDUZ wrote:
> Hi,
>
> On Wed, 2006-12-06 at 16:43 +0800, Leonard Soetedjo wrote:
> > I'm trying to install PostgreSQL 8.2.0 ony my development box using rpm
> > on CentOS 4.4.  Currently I'm stuck at installing compat-postgresql-libs
> > with the following error:
> >
> > libc.so.6(GLIBC_2.4) is needed by compat-postgresql-libs-4-1PGDG.i386
> > libcrypto.so.6 is needed by compat-postgresql-libs-4-1PGDG.i386
> > libkrb5.so.3(krb5_3_MIT) is needed by compat-postgresql-libs-4-1PGDG.i386
> > libssl.so.6 is needed by compat-postgresql-libs-4-1PGDG.i386
>
> It should be fixed now. Could you please grab the rpm in
> ftp.postgresql.org and test again?

Sorry, I can't find the new version in the ftp
(ftp://ftp.postgresql.org/pub/binary/v8.2.0/linux/rpms/redhat/rhel-es-4).
Nevertheless I tried to download the compat-postgresql-libs in there, but the
same error appear.


Regards,

Leonard Soetedjo

Re: Error in installing compat-postgresql-libs rpm

From
"Albe Laurenz"
Date:
> I'm trying to install PostgreSQL 8.2.0 ony my development box using
rpm on
> CentOS 4.4.  Currently I'm stuck at installing compat-postgresql-libs
with
> the following error:
>
> libc.so.6(GLIBC_2.4) is needed by compat-postgresql-libs-4-1PGDG.i386
> libcrypto.so.6 is needed by compat-postgresql-libs-4-1PGDG.i386
> libkrb5.so.3(krb5_3_MIT) is needed by
compat-postgresql-libs-4-1PGDG.i386
> libssl.so.6 is needed by compat-postgresql-libs-4-1PGDG.i386
>
> I tried to download the source rpm and compile, but it seems that it
comes
> with a compiled library?
>
> Does anyone using RHEL4 face the same problem?

Yes, the RPM is obviously not for RHEL 4 and ended up in that directory
by mistake.

I have notified the packager and hope that the problem will be fixed
soon.

Yours,
Laurenz Albe

Re: Error in installing compat-postgresql-libs rpm

From
Devrim GUNDUZ
Date:
Hi,

On Wed, 2006-12-06 at 13:14 +0100, Albe Laurenz wrote:
> I have notified the packager and hope that the problem will be fixed
> soon.

After thinking about it a bit, I thought it is the only solution to
prepare different RPMs per platform :-(

Per this, I built new packages for RHEL4 for both x86 and x86_64. They
are versioned as 2PGDG. I uploaded them. They will sync to main FTP
server in an hour.

Could you please test it? I could install in both on  RHEL x86_64 and
x86 boxes.

I will be fixing FC5 and FC4 shortly.

Regards,
--
The PostgreSQL Company - Command Prompt, Inc. 1.503.667.4564
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: plPHP, plPerlNG - http://www.commandprompt.com/





Attachment

Re: Error in installing compat-postgresql-libs rpm

From
Leonard Soetedjo
Date:
Hi,

On Wednesday 06 December 2006 9:20 pm, Devrim GUNDUZ wrote:
> Hi,
>
> On Wed, 2006-12-06 at 13:14 +0100, Albe Laurenz wrote:
> > I have notified the packager and hope that the problem will be fixed
> > soon.
>
> After thinking about it a bit, I thought it is the only solution to
> prepare different RPMs per platform :-(
>
> Per this, I built new packages for RHEL4 for both x86 and x86_64. They
> are versioned as 2PGDG. I uploaded them. They will sync to main FTP
> server in an hour.
>
> Could you please test it? I could install in both on  RHEL x86_64 and
> x86 boxes.
>
> I will be fixing FC5 and FC4 shortly.

Well, it works (I tested it on x86).  Thanks a lot!  Too bad though, that the
RPMs has to be done per platform :(


Regards,

Leonard Soetedjo

Re: Error in installing compat-postgresql-libs rpm

From
Bernhard Weisshuhn
Date:
Devrim GUNDUZ schrieb:
> Hi,
>
> On Wed, 2006-12-06 at 13:14 +0100, Albe Laurenz wrote:
>> I have notified the packager and hope that the problem will be fixed
>> soon.
>
> After thinking about it a bit, I thought it is the only solution to
> prepare different RPMs per platform :-(
>
> Per this, I built new packages for RHEL4 for both x86 and x86_64. They
> are versioned as 2PGDG. I uploaded them. They will sync to main FTP
> server in an hour.
>
> Could you please test it? I could install in both on  RHEL x86_64 and
> x86 boxes.
>
> I will be fixing FC5 and FC4 shortly.

While trying to install compat-postgresql-libs-4-1PGDG.x86_64.rpm from
the fedora-core-6-x86_64 directory on ftp.postgresql.org, I get the
following error:

   2:compat-postgresql-libs ###########################################
[ 25%]
error: unpacking of archive failed on file
/usr/lib64/libpq.so.4;4576d3af: cpio: MD5 sum mismatch

Is the srpm for compat-postgresql downloadable somewhere?

regards,
bkw

Re: Error in installing compat-postgresql-libs rpm

From
Devrim GUNDUZ
Date:
Hi,

On Wed, 2006-12-06 at 15:39 +0100, Bernhard Weisshuhn wrote:
> error: unpacking of archive failed on file
> /usr/lib64/libpq.so.4;4576d3af: cpio: MD5 sum mismatch

Please download the RPM from another mirror, or re-download it. I could
not duplicate that error.

> Is the srpm for compat-postgresql downloadable somewhere?

I don't plan to upload them somewhere, because:

- They are doing nothing except installing 8.1.5 libpq.so.4(.1)
- We have different SRPMs for different RH/FC releases and I don't see a
need to include those SRPMs in FTP sites.

Regards,
--
The PostgreSQL Company - Command Prompt, Inc. 1.503.667.4564
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: plPHP, plPerlNG - http://www.commandprompt.com/





Attachment

Re: Error in installing compat-postgresql-libs rpm

From
Bernhard Weisshuhn
Date:
Devrim GUNDUZ schrieb:
> Hi,
>
> On Wed, 2006-12-06 at 15:39 +0100, Bernhard Weisshuhn wrote:
>> error: unpacking of archive failed on file
>> /usr/lib64/libpq.so.4;4576d3af: cpio: MD5 sum mismatch
>
> Please download the RPM from another mirror, or re-download it. I could
> not duplicate that error.

I don't get it. I tried three mirrors, all gave me the same file.
I verified the md5sum against the MD5SUM file on the server, it is correct.
What is going on? Something wrong with my rpm (the program)?

Could somebody verify the md5sum of /usr/lib64/libpq.so.4.1 for me?

Here is what I tried:

| % md5sum compat-postgresql-libs-4-1PGDG.x86_64.rpm
| 9d292c0a677888ffe5e37a64c2638624
compat-postgresql-libs-4-1PGDG.x86_64.rpm
|
| % rpm -qlp --verbose compat-postgresql-libs-4-1PGDG.x86_64.rpm
| -rwxr-xr-x    1 root    root           138872 Nov 26 10:21
/usr/lib64/libpq.so.4
| -rwxr-xr-x    1 root    root           138872 Nov 26 10:21
/usr/lib64/libpq.so.4.1
|
|
| % rpm2cpio compat-postgresql-libs-4-1PGDG.x86_64.rpm | cpio -idv
| ./usr/lib64/libpq.so.4
| ./usr/lib64/libpq.so.4.1
| 544 blocks
|
| % md5sum usr/lib64/libpq.so.4.1
| eb5c38c731f4e0bb0a52a3a267c0b43d  usr/lib64/libpq.so.4.1
|
| % sudo rpm -Uvh compat-postgresql-libs-4-1PGDG.x86_64.rpm
| Preparing...
########################################### [100%]
|    1:compat-postgresql-libs
########################################### [100%]
| error: unpacking of archive failed on file
/usr/lib64/libpq.so.4;4576de9b: cpio: MD5 sum mismatch
|
| % rpm -q rpm cpio
| rpm-4.4.2-32
| cpio-2.6-21.fc6


any hint appreciated,
bkw

Re: Error in installing compat-postgresql-libs rpm

From
Devrim GUNDUZ
Date:
Hi,

On Wed, 2006-12-06 at 16:32 +0100, Bernhard Weisshuhn wrote:

> I don't get it.

Per offlist discussion with Bernhard (thanks again for your patience and
detailed testing), we now have the correct RPM. It is tagged as
fc6.x86_64 and will hit the main FTP site shortly.

It seems a weird tarring issue.

Regards,
--
The PostgreSQL Company - Command Prompt, Inc. 1.503.667.4564
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: plPHP, plPerlNG - http://www.commandprompt.com/





Attachment

Re: Error in installing compat-postgresql-libs rpm

From
Devrim GUNDUZ
Date:
Hi,

On Wed, 2006-12-06 at 16:55 +0200, Devrim GUNDUZ wrote:
> > Is the srpm for compat-postgresql downloadable somewhere?
>
> I don't plan to upload them somewhere, because:

After thinking a bit (and talking with Alvaro and Magnus), I decided to
put them to main FTP site.

They are under binary/v8.2.0/linux/srpms/compat-4 . They will hit main
FTP site shortly. It may take some time for the mirrors to pick them up.

Regards,
--
The PostgreSQL Company - Command Prompt, Inc. 1.503.667.4564
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: plPHP, plPerlNG - http://www.commandprompt.com/


Attachment