[postgis-devel] module linking troubles

Sandro Santilli strk at keybit.net
Mon Jun 27 00:31:39 PDT 2011


On Thu, Jun 23, 2011 at 11:21:17PM +0000, Bryce L Nordgren wrote:
> Can anyone help me figure out a "linking issue"? My little patch on #1058
> introduced a dependency from "./raster" to "./postgis", ergo I linked
> rtpostgis-2.0.so against postgis-2.0.so in the build directory. After
> install, when postgis-2.0.so is where it should be, the link is broken. Is
> there a standard/accepted way to handle this?
> 
> There was a pre-existing link to liblwgeom.a in the build directory. I
> assume this did not cause problems because it was statically linked. Any
> help is appreciated.

This is where libtool comes handy, as it abstracts the way you link to
libraries under different systems....
Anyway, if you go dynamic linking I guess your problem is about "make check" ?
Or what is it ?

--strk; 

  ()   Free GIS & Flash consultant/developer
  /\   http://strk.keybit.net/services.html



More information about the postgis-devel mailing list