Обсуждение: perl dbd

Поиск
Список
Период
Сортировка

perl dbd

От
Ken Kline
Дата:
my apologies if this is not the coreect list
but I cannot seem to install the
package DBD-Pg-0.73-1.i386.rpm

it complains that it needs libpq.so.1

i have the following installed from
a source package rebuild:

postgresql-7.0.3-2
..server
..devel
..perl
..tk
..odbc
..tcl

thanks as always

Ken




Re: perl dbd

От
Johan Van den Brande
Дата:
Hi,

probably some environment variables are not set... these are used by
the DBD::Pg install to determine include and lib directories:
POSTGRES_INCLUDE
POSTGRES_LIB

if you installed postgres into /opt/postgres do
export POSTGRES_INCLUDE=/opt/postgres/include
export POSTGRES_LIB=/opt/postgres/lib

and have a try again ...

Johan



The best thing to do is do download the

Ken Kline wrote:

> my apologies if this is not the coreect list
> 
> but I cannot seem to install the
> 
> package DBD-Pg-0.73-1.i386.rpm
> 
> 
> 
> it complains that it needs libpq.so.1
> 
> 
> 
> i have the following installed from
> 
> a source package rebuild:
> 
> 
> 
> postgresql-7.0.3-2
> 
> ...server
> 
> ...devel
> 
> ...perl
> 
> ...tk
> 
> ...odbc
> 
> ...tcl
> 
> 
> 
> thanks as always
> 
> 
> 
> Ken