Re: issues installing DBD-Pg-2.16.0 on linux-64bits

"Greg Sabino Mullane" <greg-738XdyZ4GzZWk0Htik3J/[email protected]>
Newsgroups gmane.comp.db.postgresql.dbdpg
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----                            
Hash: RIPEMD160                                               

> 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-738XdyZ4GzZWk0Htik3J/[email protected]
End Point Corporation http://www.endpoint.com/
PGP Key: 0x14964AC8 201001221019
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8

-----BEGIN PGP SIGNATURE-----

iEYEAREDAAYFAktZwg4ACgkQvJuQZxSWSsiePwCfSpxryj1Edv8htTwfoev8LfHG
0GQAoJg8qp2pWfBkE/BsqGsaKvF0JkWy
=/n4H
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.