in reply to Re: PostgreSQL/Perl
in thread PostgreSQL/Perl

Hello, I've changed the .bashrc file because my lib
path was wrong.
make still can't find libpq-fe.h even though it
is in /usr/include/pgsql

New entry in to .bashrc
export POSTGRES_HOME=/var/lib/pgsql
export PGLIB=/usr/include/pgsql
export PGDATA=$POSTGRES_HOME/data
export LD_LIBRARY_PATH=$PGLIB
export PATH=/usr/bin:/var/lib/pgsql/data:
/var/lib/pgsql/data:
/usr/include/pgsql:/bin:$PATH



When I type env all the variables have the correct path
names. As well, I don't seem to have a pgsql/bin directory anywhere
Is this odd? Getting kind of confused here! Any help would be muchly
appreciated. D.

Replies are listed 'Best First'.
Re: Re: Re: PostgreSQL/Perl
by Hanamaki (Chaplain) on Nov 03, 2001 at 19:53 UTC
    Search for binaries like createdb, createuser, psql, etc. pp. If you cannot find them the chances that Postgresql is not installed are pretty high.

    If you got stuck just try to compile Postgres again, start postgres with the postmaster command, test wether Postgres is working by using psql from the shell; install "DBI" and "DBD::Pg" and become a member of Perlmonks. Once I tried RPM's but it didn't work out for me. Therfore I cannot say much about a RPM install.

    Hanamaki