Re: PostgreSQL perl / libpq.so.2 problem - again :(
От | Lamar Owen |
---|---|
Тема | Re: PostgreSQL perl / libpq.so.2 problem - again :( |
Дата | |
Msg-id | 01070710433504.07080@lowen.wgcr.org обсуждение исходный текст |
Ответ на | PostgreSQL perl / libpq.so.2 problem - again :( (Alexander Turchin <aturchin@chip.org>) |
Список | pgsql-general |
On Thursday 05 July 2001 18:18, Alexander Turchin wrote: > I recently installed PostgreSQL version 7.1.2 on my system running Linux > 6.2 and perl 5.6.1. Oddly, when I installed the rpm file > postgresql-perl-7.1.2-4PGDG.i386.rpm, it installed an older version of > perl into /usr/lib/perl5/5.00503 (compiled apparently for Linux running > on i386, while my version of perl is compiled for Linux running on > i686). Now, when I try to run a perl script that attempts to access a > postgresql database through DBI::Pg, I get the following error message: Ok. 1.) Red Hat 6.2 doesn't ship by default with Perl 5.6. 2.) The RHL 6.2 RPMset is compiled to run on a vanilla RHL 6.2. 3.) The postgresql-perl RPM doesn't contain the DBI::Pg module -- it contains the non-DBI/DBD Pg module. 4.) The RHL 6.2 RPMset is compiled for i386 because people running this on 486's shouldn't be penalized. (Yes, there _are_ people running stuff for development on 486's. All the world isn't Pentium III.) If you want a version of the RPM's for your particular setup, you will need to rebuild from the source RPM. This is accomplished rather easily, providing that you have a full development environment on your machine. See the rebuilding section of /usr/doc/postgresql-7.1.2/README.rpm-dist for more information. -- Lamar Owen WGCR Internet Radio 1 Peter 4:11
В списке pgsql-general по дате отправления: