Request for review: libpqxx

Michael Schwendt bugs.michael at gmx.net
Fri Jul 1 00:30:07 UTC 2005


> > http://fedora.lowlatency.de/review/libpqxx-2.5.4-2.src.rpm
> > http://fedora.lowlatency.de/review/libpqxx.spec

$ pqxx-config --libs
-L/usr/lib -lpqxx -L/usr/lib -R/usr/lib -lpq

The  -R/usr/lib  option here is a source of future trouble, as it
sets an RPATH.

The  -lpq  means that in libpqxx-devel "Requires: postgresql-devel" is
needed for libpq.so

As a rule of thumb: whenever a -devel package contains a foo-config
executable or a pkg-config file, these are worth examining for dependencies
on other -devel packages. If no foo-config program or pkg-config file
is included, it may need more effort to examine included C/C++ headers
for dependencies.

-- 
Michael Schwendt <mschwendt at users.sf.net>
Fedora Core release 4 (Stentz) - Linux 2.6.12-1.1385_FC4
loadavg: 2.96 3.98 3.63




More information about the fedora-extras-list mailing list