Summary: | Dependency problem in dev-libs/cyrus-sasl with PostgreSQL support | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alvaro Aguayo <alvaroag> |
Component: | Current packages | Assignee: | Net-Mail Packages <net-mail+disabled> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | titanofold |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Alvaro Aguayo
2017-09-01 15:25:38 UTC
(In reply to Alvaro Aguayo from comment #0) > .... > However, libpq.a is located under /usr/lib/postgresql-9.4/lib64/libpq.a , > and it's a link to libpq.so in the same directory. On /usr/lib, there's no > symlink to libpq.so named libpq.a. > > I think the configure script should be changed so "libpq.so" is used instead > of "libpq.a". Also, if the --with-pgsql ("postgres" USE flag) argument is > given, it should fail immediatelly, instead of building without PostgreSQL > support. > > Other solution would be for the dev-db/postgresql or > app-eselect/eselect-postgresql to add such symlink, in order to ease de > compilation of apps which require libpq.a > > My current solution was to "ln -s /usr/lib/libpq.so /usr/lib/libpq.a". The problem is with the dev-libs/cyrus-sasl. If it needs *.a files, then it need to depend on dev-db/postgresql[static-libs]. Further, the configure script should use one of the correct tools: pkg-config or pg_config. But, just passing the right path to it as part of the argument to econf (or whatever) will do the trick. *** This bug has been marked as a duplicate of bug 538042 *** |