[postgis-tickets] [PostGIS] #4833: Compiling Postgis with Proj 8
PostGIS
trac at osgeo.org
Sat Jan 23 13:54:59 PST 2021
#4833: Compiling Postgis with Proj 8
------------------------------------+---------------------------
Reporter: jgrocha | Owner: strk
Type: defect | Status: new
Priority: low | Milestone: PostGIS 3.1.1
Component: build/upgrade/install | Version: master
Resolution: | Keywords: autotools
------------------------------------+---------------------------
Comment (by jgrocha):
The patch is to fix configure.ac, not the generated configure script.
{{{
$ cat configure.patch
diff --git a/configure.ac b/configure.ac
index 9ac7051bb..0e22e08c1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -902,7 +902,7 @@ AC_SUBST([PROJ_LDFLAGS])
dnl Ensure we can link against libproj
LIBS_SAVE="$LIBS"
LIBS="$PROJ_LDFLAGS"
-AC_CHECK_LIB([proj], [pj_get_release],
+AC_CHECK_LIB([proj], [proj_create_from_wkt],
[],
[AC_MSG_ERROR([could not find libproj - you may need to specify
the directory of a PROJ installation using --with-projdir])],
[])
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4833#comment:2>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list