#2057 closed defect (fixed)
Raster build ignores pg_config info
Reported by: | pramsey | Owned by: | Bborie Park |
---|---|---|---|
Priority: | critical | Milestone: | PostGIS 2.0.2 |
Component: | raster | Version: | 2.0.x |
Keywords: | history | Cc: |
Description
From IRC:
fullstop: The configure script for 2.0.1 doesn't use the info from pg_config for the raster stuff. fullstop: It will fail to find -lpq unless it is in, say, /usr/lib fullstop: Adding -L/path/to/pgsql/lib in the Makefile works around this, but I'm guessing that the configure script is slightly broken.
Change History (6)
comment:1 by , 12 years ago
Owner: | changed from | to
---|---|
Priority: | medium → critical |
Status: | new → assigned |
comment:2 by , 12 years ago
comment:3 by , 12 years ago
By the looks of libtool's debug output, it is GDAL's dependency on libpq that brings the -lpq flag. But it looks like -L indicating where the libpq that GDAL was linked to isn't being set. So, going to have to force for the libpq that PostGIS is linking to.
comment:4 by , 12 years ago
The most likely scenario is that GDAL was compiled against a different PostgreSQL and/or PostgreSQL installed in a different location. So when the raster2pgsql is being linked, the PostgreSQL that GDAL was linked against doesn't exist anymore...
comment:5 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:6 by , 12 years ago
Keywords: | history added |
---|
Note:
See TracTickets
for help on using tickets.
Failure looks like this