Thread: compat-postgresql-libs rpm bug in 64bit mode

compat-postgresql-libs rpm bug in 64bit mode

From
Kevin Murphy
Date:
I'm using compat-postgresql-libs-4-1PGDG.rhel5.x86_64.rpm on CentOS 5 in
64bit mode.

The package did not create a libpq.so.4 link in /usr/lib64/, which
caused Apache to fail.

Regards,
Kevin Murphy


Re: compat-postgresql-libs rpm bug in 64bit mode

From
Devrim GÜNDÜZ
Date:
Hi,

On Wed, 2008-08-06 at 11:19 -0400, Kevin Murphy wrote:

> I'm using compat-postgresql-libs-4-1PGDG.rhel5.x86_64.rpm on CentOS 5
> in  64bit mode.
>
> The package did not create a libpq.so.4 link in /usr/lib64/, which
> caused Apache to fail.

http://yum.pgsqlrpms.org/8.3/redhat/rhel-5-x86_64/repoview/compat-postgresql-libs.html

We both have 32 and 64 bit packages. Please make sure that you have
64-bit one installed.

Regards,

--
Devrim GÜNDÜZ
devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
                   http://www.gunduz.org


Attachment

Re: compat-postgresql-libs rpm bug in 64bit mode

From
Kevin Murphy
Date:
Devrim GÜNDÜZ wrote:
> Hi,
>
> On Wed, 2008-08-06 at 11:19 -0400, Kevin Murphy wrote:
>
>
>> I'm using compat-postgresql-libs-4-1PGDG.rhel5.x86_64.rpm on CentOS 5
>> in  64bit mode.
>>
>> The package did not create a libpq.so.4 link in /usr/lib64/, which
>> caused Apache to fail.
>>
>
> http://yum.pgsqlrpms.org/8.3/redhat/rhel-5-x86_64/repoview/compat-postgresql-libs.html
>
> We both have 32 and 64 bit packages. Please make sure that you have
> 64-bit one installed.
>

Yes, it's installed.

compat-postgresql-libs.x86_64            4-1PGDG.rhel5
installed
compat-postgresql-libs.i686              4-1PGDG.rhel5
installed

The package creates /usr/lib64/libpq.so.4.1, but it does not create
/usr/lib64/libpq.so.4 -> /usr/lib64/libpq.so.4.1.

-Kevin



Re: compat-postgresql-libs rpm bug in 64bit mode

From
Devrim GÜNDÜZ
Date:
On Wed, 2008-08-06 at 13:01 -0400, Kevin Murphy wrote:
> The package creates /usr/lib64/libpq.so.4.1, but it does not create
> /usr/lib64/libpq.so.4 -> /usr/lib64/libpq.so.4.1.

This is a bit strange:

[root@koji-centos5-x86-64-pg83 ~]# ll /usr/lib64/libpq.so.4.1
-rwxr-xr-x 1 root root 140000 Jan 12  2008 /usr/lib64/libpq.so.4.1
[root@koji-centos5-x86-64-pg83 ~]# ll /usr/lib64/libpq.so.4
lrwxrwxrwx 1 root root 23 Aug  7 14:11 /usr/lib64/libpq.so.4 -> /usr/lib64/libpq.so.4.1

Symlinking is done after installing package with a %post operation.

I suggest you to create symlinks for yourself.

--
Devrim GÜNDÜZ
devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
                   http://www.gunduz.org


Attachment