[postgis-devel] postgis-1.1.2: a few improvements

alex bodnaru alexbodn at 012.net.il
Mon May 22 05:56:54 PDT 2006


hi strk,

good to hear from you again :-) .

thanks for considering my input.

> 
>>2. the topology test fails under postgresql-7.4 wich refuses to have
>>composite types as fields.
> 
> I'd rather use a custom datatype, to be developed in C.
> We do want to threat TopoGeometries as real types, anyway.
> 
i wouldn't dare proposing you, since i'm not familiar with c datatypes
in postgresql.

> 
>>3. PGFELIBS, (comming from pg_config --libs) holds all the libs used
>>when building postgresql. i have substituted $(PGFELIBS) with -lpq (this
>>exist only in loader/Makefile, for building pgsql2shp), and this seems
>>to work as well.
> 
> 
> We added full front-end libs as a workaround:
> 
> 2006-03-08 19:21  strk
> 
>         * configure.in (1.47): Added pg_config --libs to PGFELIBS as a
>           workaround for systems that doesn't automatically detect
>           dependencies
> 
using -lpq you don't make the linker autodetect it's libraries, but you
actually choose to link with this library (libpq.so), but not the other
libraries returned by pg_config --libs, but not actually used by
pgsql2shp, which is the only binary built with this functionality.

on the contrary, calling pg_config --libdir *is usefull*, since this
would be added to the libraries searchpath, for the specified libraries.

hope this helps,

alex



More information about the postgis-devel mailing list