[postgis-devel] Error making postgis

Ayoub FATIHI ayoubfatihi1999 at gmail.com
Fri Apr 30 17:40:33 PDT 2021


Hi community,
I was re-installing PostGIS with PostgreSQL from source.
And I have this problem :
Postgres compile just fine. But ...
When I run make for postgis, I get this error:
------------------------------
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:84: raster2pgsql] Error 1
make[2]: Leaving directory '/usr/local/src/postgis/raster/loader'
make[1]: *** [Makefile:35: rtloader] Error 2
make[1]: Leaving directory '/usr/local/src/postgis/raster'
make: *** [GNUmakefile:22: all] Error 1
----------------------------------
Noting also that config when done says:
-------------------------------
PostGIS is now configured for x86_64-pc-linux-gnu

 -------------- Compiler Info -------------
  C compiler:           gcc -std=gnu99 -g -O2 -fno-math-errno
-fno-signed-zeros
  C++ compiler (Wagyu): gcc -std=c++11 -x c++
  CPPFLAGS:              -I/usr/include   -I/usr/include/libxml2
 -I/usr/include/json-c  -DNDEBUG
  LDFLAGS:               -lm
  SQL preprocessor:     /usr/bin/cpp -traditional-cpp -w -P

 -------------- Additional Info -------------
  Interrupt Tests:   DISABLED use: --with-interrupt-tests to enable

 -------------- Dependencies --------------
  GEOS config:          /usr/bin/geos-config
  GEOS version:         3.8.0
  GDAL config:          /usr/bin/gdal-config
  GDAL version:         3.0.4
  PostgreSQL config:    /usr/local/pgsql/bin/pg_config
*  PostgreSQL version:   PostgreSQL 14devel*
  PROJ4 version:        63
  Libxml2 config:       /usr/bin/xml2-config
  Libxml2 version:      2.9.10
  JSON-C support:       yes
  protobuf support:     yes
  protobuf-c version:   1003003
  PCRE support:         yes
  Perl:                 /usr/bin/perl

 --------------- Extensions ---------------
  PostGIS Raster:                     enabled
  PostGIS Topology:                   enabled
  SFCGAL support:                     disabled
  Address Standardizer support:       enabled

 -------- Documentation Generation --------
  xsltproc:             /usr/bin/xsltproc
  xsl style sheets:
  dblatex:
  convert:
  mathml2.dtd:          http://www.w3.org/Math/DTD/mathml2/mathml2.dtd

configure: WARNING:  --------- GEOS VERSION WARNING ------------
configure WARNING:   You are building against GEOS 3.8.0.
configure: WARNING:
configure: WARNING:   To take advantage of _all_ the features of
configure: WARNING:   PostGIS, GEOS 3.9.0 or higher is required.
configure: WARNING:
configure: WARNING:   For _many_ features, GEOS 3.6.0 is enough.
configure: WARNING:
configure: WARNING:   We recommend GEOS 3.8.0 or higher
configure: WARNING:
configure: WARNING:   You can download the latest versions from
configure: WARNING:   http://geos.osgeo.org/
configure: WARNING:
--------------------------
Any ideas how to solve this problem ?

-- 
FATIHI Ayoub
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20210501/8dba3698/attachment.html>


More information about the postgis-devel mailing list