[MLUG] fix dependency

David Montminy david.montminy at gmail.com
Tue Dec 9 23:00:57 EST 2008


Denny Stamos wrote:
> Hi David,
> 
> yum repolist is not recognized (not in man either).
>

Commands were copied from
http://distrowatch.com/weekly.php?issue=20081013
and
http://distrowatch.com/weekly.php?issue=20081020
Because I don't know all distributions by heart and my VMs are offline
until I can re-install everything in a x86_64 Host OS.


> # yum search libpq
> Loading "installonlyn" plugin
> Setting up repositories
> Reading repository metadata in from local files
> 
> 
> 
> libpqxx.i386                             2.6.8-5.fc7           
> fedora         
> Matched from:
> libpqxx
> C++ client API for PostgreSQL. The standard front-end (in the sense of
> "language binding") for writing C++ programs that use PostgreSQL.
> Supersedes older libpq++ interface.
> http://thaiopensource.org/development/libpqxx/
> 
> 
> 
> libpqxx-devel.i386                       2.6.8-5.fc7           
> fedora         
> Matched from:
> libpqxx-devel
> Development tools for libpqxx
> The libpgxx-devel package contains the header files and static
> libraries necessary for developing programs which use libpqxx.
> http://thaiopensource.org/development/libpqxx/
> 
> this one nothing.

Ok. So it seems it can "some" libpq lib... not sure it's the right
one... But this says a lot more:

> [root at zulu2 /]# rpm -qa | grep libpq
> [root at zulu2 /]#
> 

Basically, it query all installed packages... listing only those that
matches the name libpq...

A quick googling tells me the package is probably named:
postgresql-libs-8.1.11-1PGDG.f7.x86_64.rpm

Can you check you if have that installed?
rpm -qa | grep postgresql-lib

if not, you may have an updated package list. Try running:
yum check-update && yum update



-- 
David Montminy
------
Follow me online:
http://identi.ca/ve2dmn
http://twitter.com/ve2dmn


More information about the mlug mailing list