I have Red Hat 7.2
I already Install DBI, DBD::Pg
but I get this error
Can't locate loadable object for module DBI in INC (INC contains:
/usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1
/usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1
You Need to Setup those variables
at prompt type:
$export POSTGRES_LIB=/path/to/lib
$export POSTGRES_INCLUDE=/path/to/include
that's all
eg:
on my server the path is
POSTGRES_LIB=/usr/lib/pgsql
POSTGRES_INCLUDE=/usr/include/pgsgl
check Your's
Lauren Buell escribió:
When I try to perl
What am I doing WRONG
#!/usr/bin/perl -w
#
# Consilta.cgi
#
push(@INC,/var/www/cgi-bin/);
require(cgi-lib.pl);
$|=1;
#use strict;
use DBI;
use CGI;
sub avisa_y_salte {
my $error = @_;
print PrintHeader;
print h1Error Inesperado/h1;
print p$error/p;
print HtmlBot;
Some body can Help ME?
Tanks in Advance
prueba.pl
I tryng to import data from ascii file
intercun=# copy clientes from '/home/aguztyn/archivo/' using delimiters
'|'
but I see this error:
ERROR: COPY command, running en backend with effective uid 26, could not
open file
'/home/aguztyn/archivo' for reading. error = Permission Denied
What Im
How can i set this variables
POSTGRES_LIB
POSTGRES_INCLUDE
I need them to compile DBD::Pg module.
can't Install dbd for postgreSQL
someboy can help, Me