[postgis-devel] linkage against libpq.so

Sandro Santilli strk at keybit.net
Fri Oct 5 00:08:12 PDT 2012


On Thu, Oct 04, 2012 at 07:42:42PM -0700, Jeff Janes wrote:

> ticket: http://trac.osgeo.org/postgis/ticket/1830

[..]

> What I don't understand is why it is linking against an ancient libpq
> in the first place.  There is a perfectly modern libpq on my system,
> and it is located right where pg_config says it is.  So why isn't that
> one getting preferentially used?  postgis seems to be using pg_config
> to pick up other configuration settings, just not this one.
> 
> I poked around in the Makefiles, but I can't figure it out.

Are you saying that PGSQL_FE_LDFLAGS in loader/Makefile is wrong ?

--strk; 

 http://www.cartodb.com - Map, analyze and build applications with your data

                                       ~~ http://strk.keybit.net 




More information about the postgis-devel mailing list