[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Request for review: libpqxx



> > 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 users sf net>
Fedora Core release 4 (Stentz) - Linux 2.6.12-1.1385_FC4
loadavg: 2.96 3.98 3.63


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]