FAQ
I'm having issue installing DB-Pg on OS: linux -64 bits, RHES5; PG vers
8.3.6 already running, DBI-1.609 installed : All this have been
installed as non root user .
DBI compiled with PREFIX='my_local_dir'( aka
PREFIX=/var/lib/pgsql/DBI-1.609)
now I'm trying to install DBD-Pg:
which pg_config
/opt/pgsql/bin/pg_config

perl Makefile.PL PREFIX=/var/lib/pgsql/DBD-Pg -I/var/lib/pgsql/DBI-1.609
Configuring DBD::Pg 2.16.0
PostgreSQL version: 80306 (default port: 5432)
POSTGRES_HOME: /opt/pgsql/
POSTGRES_INCLUDE: /opt/pgsql/include
POSTGRES_LIB: /opt/pgsql/lib
OS: linux
Could not load DBI::DBD - is the DBI module installed?


--
-----------------------------------------------------------
Isabella A. Ghiurea

Isabella.Ghiurea@nrc-cnrc.gc.ca
Canadian Astronomy Data Centre |http://www.nrc-cnrc.gc.ca/eng/services/hia/data-centre.html
National Research Council of Canada, Herzberg Institute of Astrophysics
5071 West Saanich Road, Victoria BC V9E 2E7, Canada
Phone: 250 363-3446 fax: 250 363-0045

Search Discussions

  • Greg Sabino Mullane at Jan 22, 2010 at 3:20 pm

    I'm having issue installing DB-Pg on OS: linux -64 bits, RHES5; PG vers
    8.3.6 already running, DBI-1.609 installed : All this have been
    installed as non root user . ,,,
    DBI compiled with PREFIX='my_local_dir'( aka
    PREFIX=/var/lib/pgsql/DBI-1.609)
    now I'm trying to install DBD-Pg:
    which pg_config
    /opt/pgsql/bin/pg_config

    perl Makefile.PL PREFIX=/var/lib/pgsql/DBD-Pg -I/var/lib/pgsql/DBI-1.609 ...
    Could not load DBI::DBD - is the DBI module installed?
    If you are using a non-system wide DBI, you'll need to tell Perl
    how to get to it earlier than that. Try this:

    export PERL5LIB=/var/lib/pgsql/DBI-1.609
    perl Makefile.PL

    However, it's best to just install DBI globally. Any reason
    why it is not?

    - --
    Greg Sabino Mullane greg@turnstep.com
    End Point Corporation http://www.endpoint.com/
    PGP Key: 0x14964AC8 201001221019
    http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdbd-pg @
categoriesperl
postedJan 20, '10 at 10:58p
activeJan 22, '10 at 3:20p
posts2
users2
websiteperl.org

People

Translate

site design / logo © 2022 Grokbase