[Pkg-postgresql-public] Bug#723470: libzdb link with -L/usr/lib

Christoph Berg myon at debian.org
Wed Sep 18 10:03:15 UTC 2013


Control: unmerge -1

Re: Jack Bates 2013-09-17 <5238B9B0.1080201 at nottheoilrig.com>
> Where is libpq.so (PostgreSQL client library) installed on your
> system? I suspect the offending line is libzdb-2.11.3/configure.ac
> line 268:
> 
>         LDFLAGS="-L`$PGCONFIG --libdir` $LDFLAGS"
> 
> I think bug #706849 (libpq5: enable multi-arch) will move libpq.so
> out of /usr/lib and I think that will resolve this bug as well.

Hi,

it's not libpq's fault that you have -L`$PGCONFIG --libdir` in your
configure.ac script. To link with it, you should just be able to say
"-lpq" and it will find the library in /usr/lib, or whatever multiarch
path. I'd suggest to just remove that mangling there.

We will probaby do the multi-archification in a way that pg_config
--libdir will continue to point to /usr/lib, because that's the
location where the PostgreSQL modules are located. Only the client
libraries (libpq5 and friends) will be moved.

Christoph
-- 
cb at df7cb.de | http://www.df7cb.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-postgresql-public/attachments/20130918/94a8ff5d/attachment.sig>


More information about the Pkg-postgresql-public mailing list