Ticket #1133 (closed task: fixed)
Figure out and approve library dependency strategy.
| Reported by: | bnordgren | Owned by: | pramsey |
|---|---|---|---|
| Priority: | medium | Milestone: | PostGIS 2.0.0 |
| Component: | postgis | Version: | trunk |
| Keywords: | Cc: |
Description
Description
Currently, the "postgis" and "raster" libraries are in parallel, having no dependency relationship between them. Both libraries depend on liblwgeom for common code, but liblwgeom does not contain any postgresql-aware code (e.g., memory context, etc.) There is no place, therefore, for common code which needs to be postgresql aware.
Lack of such a mechanism is blocking #1053 and #1058, which attempt to implement the dependency represented by the dashed line in the following figure:
As I see it, there are four candidate solutions:
- Duplicate the common code in postgis/ and raster/ (ick)
- Figure out how to correctly make one shared library depend on another, when the linking happens before the first shared library is installed. (e.g., shared library is moved after something links against it.)
- Create a new static library which contains common code that is postgresql-aware.
- Make libpostgis and libraster be static, and create one merged shared library containing both of them.
References
Helpful (hopefully) web links...
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


