Bug 13489

Summary: /usr/lib64 modules considered incompatible
Product: Mageia Reporter: Graeme Gemmill <grimble00060>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Normal CC: thierry.vignaud
Version: 4   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: postgresql9.3-9.3.4-1.mga4.src.rpm CVE:
Status comment:

Description Graeme Gemmill 2014-06-07 16:27:35 CEST
Description of problem:
Trying to install the perl module DBD::Pg  within perl/CPAN
cpan[1]> install DBD::Pg
Reading '/root/.cpan/Metadata'
  Database was generated on Thu, 05 Jun 2014 08:53:02 GMT
Running install for module 'DBD::Pg'
Running make for T/TU/TURNSTEP/DBD-Pg-3.3.0.tar.gz
Checksum for /root/.cpan/sources/authors/id/T/TU/TURNSTEP/DBD-Pg-3.3.0.tar.gz ok
Scanning cache /root/.cpan/build for sizes
............................................................................DONE

  CPAN.pm: Building T/TU/TURNSTEP/DBD-Pg-3.3.0.tar.gz

Configuring DBD::Pg 3.3.0
PostgreSQL version: 90304 (default port: 5432)
POSTGRES_HOME: (not set)
POSTGRES_INCLUDE: /usr/include
POSTGRES_LIB: /usr/lib64
.
.
.
/usr/bin/ld: skipping incompatible /usr/lib64/libpq.so when searching for -lpq
/usr/bin/ld: skipping incompatible /usr/lib64/libpq.a when searching for -lpq
/usr/bin/ld: skipping incompatible /usr/lib64/libpq.so when searching for -lpq
/usr/bin/ld: skipping incompatible /usr/lib64/libpq.a when searching for -lpq
/usr/bin/ld: cannot find -lpq

postgresql 9.3.4 was installed by
#urpmi postgresql postgresql-devel postgresql-server
Version of perl is
This is perl 5, version 18, subversion 1 (v5.18.1) built for x86_64-linux-thread-multi



Reproducible: 

Steps to Reproduce:
Comment 1 Thierry Vignaud 2014-06-08 14:22:45 CEST
You should install the "perl-DBD-Pg" package that cames with Mageia
(http://svnweb.mageia.org/packages/cauldron/perl-DBD-Pg/current/SPECS/perl-DBD-Pg.spec?view=markup)

Status: NEW => RESOLVED
CC: (none) => thierry.vignaud
Resolution: (none) => INVALID