Opened 13 years ago
Closed 9 years ago
#1890 closed defect (fixed)
Configure finds sometimes older libraries
Reported by: | janh | Owned by: | strk |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 2.2.0 |
Component: | postgis | Version: | 2.0.x |
Keywords: | Non-standard Configure | Cc: |
Description
When configuring for non-standard installation locations, (CFLAGS=… LDFLAGS=… configure) the header files and libraries in those locations will be searched before the source tree. This means that a relative include path, like "liblwgeom.h", will be retrieved from the older installed version. A possible solution would be to give the path relative to the souce code (" ../liblwgeom/liblwgeom.h"
Change History (5)
comment:1 by , 13 years ago
Milestone: | PostGIS 2.0.1 → PostGIS 2.0.2 |
---|
comment:2 by , 12 years ago
Milestone: | PostGIS 2.0.2 → PostGIS 2.1.0 |
---|
comment:3 by , 12 years ago
Milestone: | PostGIS 2.1.0 → PostGIS 2.2.0 |
---|
comment:4 by , 10 years ago
Are you seeing this problem under liblwgeom/ or under postgis/ or where ? Could you show a build line as an example ? Theoretically the local path should be listed as first one with -I from CPPFLAGS
comment:5 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
I've just run this test:
- Modify the system-installed /usr/include/liblwgeom.h to be broken
- Build PostGIS
It succeeded for me as of r14060 (2.2.0dev), so I'm closing this.
too dangerous to try now.