Thread: postgresql 8.1.10-1PGDG (32 bit) installaion on RHEL 4

postgresql 8.1.10-1PGDG (32 bit) installaion on RHEL 4

From
gokul@appshub.com
Date:
  Hi,

  I'm trying to install postgresql 8.1.10-1PGDG (32 bit) on Red Hat
  Enterprise Linux  v4.. I downloaded the rpms and tried to install it
  when the 'pl' package alone is failing for the below dependencies.

  error: Failed dependencies:
          libperl.so is needed by postgresql-pl-8.1.10-1PGDG.rhel4.i686
          libpython2.3.so.1.0 is needed by
  postgresql-pl-8.1.10-1PGDG.rhel4.i686

  Can you pls let me know what the issue is.

  Thanks,
  -Gokul




Re: postgresql 8.1.10-1PGDG (32 bit) installaion on RHEL 4

From
Devrim GÜNDÜZ
Date:
Hi,

On Mon, 2007-11-12 at 17:20 -0500, gokul@appshub.com wrote:

>   I'm trying to install postgresql 8.1.10-1PGDG (32 bit) on Red Hat
>   Enterprise Linux  v4.. I downloaded the rpms and tried to install it
>   when the 'pl' package alone is failing for the below dependencies.
>
>   error: Failed dependencies:
>           libperl.so is needed by postgresql-pl-8.1.10-1PGDG.rhel4.i686

IIRC, libperl.so is installed by perl itself -- isn't is there?

>           libpython2.3.so.1.0 is needed by
>   postgresql-pl-8.1.10-1PGDG.rhel4.i686

and this is supplied by python RPM.

Both perl and python packages are among the default installation package
group of Red Hat, IIRC. I can understand that perl is uninstallable, but
python cannot thinking that yum depends on it :)

...and just a reminder: If you don't need PL/Python and PL/Perl, you
don't need to install that package.

Regards,

--
Devrim GÜNDÜZ , RHCE
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: plPHP, ODBCng - http://www.commandprompt.com/

Attachment

Re: postgresql 8.1.10-1PGDG (32 bit) installaion on RHEL 4

From
Tom Lane
Date:
Devrim =?ISO-8859-1?Q?G=DCND=DCZ?= <devrim@CommandPrompt.com> writes:
> On Mon, 2007-11-12 at 17:20 -0500, gokul@appshub.com wrote:
>> error: Failed dependencies:
>> libperl.so is needed by postgresql-pl-8.1.10-1PGDG.rhel4.i686
>> libpython2.3.so.1.0 is needed by
>> postgresql-pl-8.1.10-1PGDG.rhel4.i686

> Both perl and python packages are among the default installation package
> group of Red Hat, IIRC. I can understand that perl is uninstallable, but
> python cannot thinking that yum depends on it :)

Maybe what gokul has installed is a different .so version than the RPM
was built against?

            regards, tom lane

Re: postgresql 8.1.10-1PGDG (32 bit) installaion on RHEL 4

From
Devrim GÜNDÜZ
Date:
Hi,

On Mon, 2007-11-12 at 21:47 -0500, Tom Lane wrote:
> Maybe what gokul has installed is a different .so version than the RPM
> was built against?

Does Red Hat bump up .so version number during the lifetime of that
release? IIRC, no, but sure you know it better :)

Regards,
--
Devrim GÜNDÜZ , RHCE
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: plPHP, ODBCng - http://www.commandprompt.com/

Attachment

Re: postgresql 8.1.10-1PGDG (32 bit) installaion on RHEL 4

From
Tom Lane
Date:
Devrim =?ISO-8859-1?Q?G=DCND=DCZ?= <devrim@CommandPrompt.com> writes:
> On Mon, 2007-11-12 at 21:47 -0500, Tom Lane wrote:
>> Maybe what gokul has installed is a different .so version than the RPM
>> was built against?

> Does Red Hat bump up .so version number during the lifetime of that
> release? IIRC, no, but sure you know it better :)

No, I don't think RH would have, but who knows what the OP has done to
his installation ...

            regards, tom lane

Re: postgresql 8.1.10-1PGDG (32 bit) installaion on RHEL 4

From
Devrim GÜNDÜZ
Date:
Hi,

On Mon, 2007-11-12 at 22:16 -0500, Tom Lane wrote:
>
> > Does Red Hat bump up .so version number during the lifetime of that
> > release? IIRC, no, but sure you know it better :)
>
> No, I don't think RH would have, but who knows what the OP has done to
> his installation ...

Yeah...

gokul, maybe you should pick up the SRPMs provided, and rebuild them for
your machine.

Regards,

--
Devrim GÜNDÜZ , RHCE
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: plPHP, ODBCng - http://www.commandprompt.com/

Attachment

Re: postgresql 8.1.10-1PGDG (32 bit) installaion on RHEL 4

From
gokul@appshub.com
Date:
Thank you. I found that I dont need the packages 'pl' and 'python'

But still I'm not able to start the 'postgresql server'.

Here is the command I gave,

/etc/rc.d/init.d/postgresql start

and I just get a message saying it failed. Dont know what is the
reason. I did not get any error messages while installing the rpm's.
So I guess the installation completed successfully.

Do I need to try installing the srpms?

Can you pls let me know.

Thanks,
-Gokul


Quoting Devrim GÜNDÜZ <devrim@CommandPrompt.com>:

> Hi,
>
> On Mon, 2007-11-12 at 22:16 -0500, Tom Lane wrote:
>>
>> > Does Red Hat bump up .so version number during the lifetime of that
>> > release? IIRC, no, but sure you know it better :)
>>
>> No, I don't think RH would have, but who knows what the OP has done to
>> his installation ...
>
> Yeah...
>
> gokul, maybe you should pick up the SRPMs provided, and rebuild them for
> your machine.
>
> Regards,
>
> --
> Devrim GÜNDÜZ , RHCE
> PostgreSQL Replication, Consulting, Custom Development, 24x7 support
> Managed Services, Shared and Dedicated Hosting
> Co-Authors: plPHP, ODBCng - http://www.commandprompt.com/
>




Re: postgresql 8.1.10-1PGDG (32 bit) installaion on RHEL 4

From
Devrim GÜNDÜZ
Date:
Hi,

On Tue, 2007-11-13 at 11:52 -0500, gokul@appshub.com wrote:
> /etc/rc.d/init.d/postgresql start
>
> and I just get a message saying it failed.

Look at the log file: /var/lib/pgsql/pgstartup.log

Regards,
--
Devrim GÜNDÜZ , RHCE
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: plPHP, ODBCng - http://www.commandprompt.com/

Attachment