Skip Menu |
 

This queue is for tickets about the DBD-Pg CPAN distribution.

Report information
The Basics
Id: 36075
Status: rejected
Priority: 0/
Queue: DBD-Pg

People
Owner: Nobody in particular
Requestors: rohit82.jain [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Query
Date: Wed, 21 May 2008 18:34:57 +0530
To: bug-DBD-Pg [...] rt.cpan.org
From: "rohit jain" <rohit82.jain [...] gmail.com>
Download (untitled) / with headers
text/plain 1.9k
Hello I am installing DBD:pg then at the time of make I am getting this error message : # Error: Can't load '/home/rohit/public_html/DBD-Pg-1.49/blib/arch/auto/DBD/Pg/Pg.so' for module DBD::Pg: libpq.so.5: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 23 full error is : PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-signature......skipped all skipped: Please install Module::Signature so that you can verify the integrity of this and other distributions. t/00basic...........ok 1/3# Failed test (t/00basic.t at line 11) t/00basic...........NOK 2# Tried to use 'DBD::Pg'. # Error: Can't load '/home/rohit/public_html/DBD-Pg-1.49/blib/arch/auto/DBD/Pg/Pg.so' for module DBD::Pg: libpq.so.5: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230. # at (eval 4) line 2 # Compilation failed in require at (eval 4) line 2. t/00basic...........ok 3/3# Looks like you failed 1 tests of 3. t/00basic...........dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 2 Failed 1/3 tests, 66.67% okay t/01connect.........# # Program Version # Perl 5.8.5 (linux) # DBD::Pg 1.49 # PostgreSQL (compiled) ? # PostgreSQL (target) ? # PostgreSQL (reported) ? # Default port ? # DBI 1.604 # DBI_DSN dbi:Pg:dbname=cms2 FAILED--Further testing stopped: Could not connect: install_driver(Pg) failed: Can't load '/home/rohit/public_html/DBD-Pg-1.49/blib/arch/auto/DBD/Pg/Pg.so' for module DBD::Pg: libpq.so.5: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230. # No tests run! make: *** [test_dynamic] Error 9 -- Rohit Jain(Online Dept.) Sr. Web Developer 9313239880 www.indianexpress.com
Download (untitled) / with headers
text/plain 611b
Show quoted text
> # Error: Can't load > '/home/rohit/public_html/DBD-Pg-1.49/blib/arch/auto/DBD/Pg/Pg.so' for
module Show quoted text
> DBD::Pg: libpq.so.5: cannot open shared object file: No such file or > directory at
/usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line Show quoted text
> 23
This usually means that libpq is not installed globally - see if libpq.so.5 is installed in the system library directories. You may need to update /etc/ld.so.conf or rerun ldconfig. The problem is that Postgres was not installed globally as root, or that the libraries were installed in a non-standard directory (e.g. one not in /etc/ld.so.conf).


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.