r-spatial / lwgeom

bindings to the liblwgeom library
https://r-spatial.github.io/lwgeom/
58 stars 23 forks source link

Package can be installed but not loaded #58

Closed santoroma closed 4 years ago

santoroma commented 4 years ago

Hello, and thank you for your packages. I'm tried unsuccessfully to install lwgeom on centos 7 It fails just at final check.

** testing if installed package can be loaded from temporary location Error: package or namespace load failed for ‘lwgeom’ in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object '/usr/lib64/R/library/00LOCK-lwgeom/00new/lwgeom/libs/lwgeom.so': /usr/lib64/R/library/00LOCK-lwgeom/00new/lwgeom/libs/lwgeom.so: undefined symbol: GEOSClipByRect Errore: loading failed Esecuzione interrotta ERROR: loading failed

Here the overall output:

Installing package into ‘/usr/lib64/R/library’ (as ‘lib’ is unspecified)

  • installing source package ‘lwgeom’ ... using staged installation configure: CC: gcc -m64 -std=gnu99 configure: CXX: g++ -m64 -std=gnu++11 checking for gcc... gcc -m64 -std=gnu99 checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc -m64 -std=gnu99 accepts -g... yes checking for gcc -m64 -std=gnu99 option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -m64 -std=gnu99 -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking proj.h usability... no checking proj.h presence... no checking for proj.h... no checking for pj_init_plus in -lproj... yes checking PROJ: epsg found and readable... yes configure: POSTGIS_PROJ_VERSION: 48 checking for geos-config... /usr/bin/geos-config checking geos-config usability... yes configure: GEOS: 3.4.2 checking GEOS version >= 3.3.0... yes checking geos: linking with -L/usr/lib64 -lgeos_c... yes checking for GEOS_init_r in -lgeos_c... no configure: Package CPP flags: -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H configure: Package LIBS: -lproj -lproj -L/usr/lib64 -lgeos_c configure: creating ./config.status config.status: creating src/Makevars config.status: creating src/postgis_config.h libs g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c geodetic.cpp -o geodetic.o g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c lwgeom.cpp -o lwgeom.o g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c RcppExports.cpp -o RcppExports.o g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c proj.cpp -o proj.o g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c geos.cpp -o geos.o g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c io.cpp -o io.o g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c sub.cpp -o sub.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/varint.c -o liblwgeom/varint.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwout_twkb.c -o liblwgeom/lwout_twkb.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwpsurface.c -o liblwgeom/lwpsurface.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwtriangle.c -o liblwgeom/lwtriangle.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwmpoly.c -o liblwgeom/lwmpoly.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lookup3.c -o liblwgeom/lookup3.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwin_wkt.c -o liblwgeom/lwin_wkt.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/gserialized1.c -o liblwgeom/gserialized1.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwgeom.c -o liblwgeom/lwgeom.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/gserialized2.c -o liblwgeom/gserialized2.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwstroke.c -o liblwgeom/lwstroke.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwtin.c -o liblwgeom/lwtin.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwin_twkb.c -o liblwgeom/lwin_twkb.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwgeom_geos_cluster.c -o liblwgeom/lwgeom_geos_cluster.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwmsurface.c -o liblwgeom/lwmsurface.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwgeom_wrapx.c -o liblwgeom/lwgeom_wrapx.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwiterator.c -o liblwgeom/lwiterator.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwgeom_geos_node.c -o liblwgeom/lwgeom_geos_node.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwout_geojson.c -o liblwgeom/lwout_geojson.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwgeom_debug.c -o liblwgeom/lwgeom_debug.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwgeom_median.c -o liblwgeom/lwgeom_median.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwmval.c -o liblwgeom/lwmval.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwkmeans.c -o liblwgeom/lwkmeans.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwgeom_geos.c -o liblwgeom/lwgeom_geos.o liblwgeom/lwgeom_geos.c: In function ‘lwgeom_clip_by_rect’: liblwgeom/lwgeom_geos.c:954:2: warning: implicit declaration of function ‘GEOSClipByRect’ [-Wimplicit-function-declaration] if (!(g3 = GEOSClipByRect(g1, x1, y1, x2, y2))) ^ liblwgeom/lwgeom_geos.c:954:11: warning: assignment makes pointer from integer without a cast [enabled by default] if (!(g3 = GEOSClipByRect(g1, x1, y1, x2, y2))) ^ liblwgeom/lwgeom_geos.c: In function ‘lwgeom_voronoi_diagram’: liblwgeom/lwgeom_geos.c:1926:2: warning: implicit declaration of function ‘GEOSVoronoiDiagram’ [-Wimplicit-function-declaration] geos_result = GEOSVoronoiDiagram(geos_geom, geos_env, tolerance, output_edges); ^ liblwgeom/lwgeom_geos.c:1926:14: warning: assignment makes pointer from integer without a cast [enabled by default] geos_result = GEOSVoronoiDiagram(geos_geom, geos_env, tolerance, output_edges); ^ gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwout_kml.c -o liblwgeom/lwout_kml.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwutil.c -o liblwgeom/lwutil.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwprint.c -o liblwgeom/lwprint.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwrandom.c -o liblwgeom/lwrandom.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwmline.c -o liblwgeom/lwmline.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwgeodetic_tree.c -o liblwgeom/lwgeodetic_tree.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwline.c -o liblwgeom/lwline.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/bytebuffer.c -o liblwgeom/bytebuffer.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwgeodetic.c -o liblwgeom/lwgeodetic.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/measures.c -o liblwgeom/measures.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwgeom_api.c -o liblwgeom/lwgeom_api.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwmcurve.c -o liblwgeom/lwmcurve.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwcollection.c -o liblwgeom/lwcollection.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/gbox.c -o liblwgeom/gbox.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwspheroid.c -o liblwgeom/lwspheroid.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwout_svg.c -o liblwgeom/lwout_svg.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwin_encoded_polyline.c -o liblwgeom/lwin_encoded_polyline.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwout_encoded_polyline.c -o liblwgeom/lwout_encoded_polyline.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwgeom_geos_split.c -o liblwgeom/lwgeom_geos_split.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/effectivearea.c -o liblwgeom/effectivearea.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwboundingcircle.c -o liblwgeom/lwboundingcircle.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwcurvepoly.c -o liblwgeom/lwcurvepoly.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwlinearreferencing.c -o liblwgeom/lwlinearreferencing.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwunionfind.c -o liblwgeom/lwunionfind.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwchaikins.c -o liblwgeom/lwchaikins.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwalgorithm.c -o liblwgeom/lwalgorithm.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwhomogenize.c -o liblwgeom/lwhomogenize.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwgeom_geos_clean.c -o liblwgeom/lwgeom_geos_clean.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/measures3d.c -o liblwgeom/measures3d.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwout_x3d.c -o liblwgeom/lwout_x3d.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwgeom_transform.c -o liblwgeom/lwgeom_transform.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwin_wkt_lex.c -o liblwgeom/lwin_wkt_lex.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwmpoint.c -o liblwgeom/lwmpoint.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/stringbuffer.c -o liblwgeom/stringbuffer.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwcompound.c -o liblwgeom/lwcompound.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/gserialized.c -o liblwgeom/gserialized.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwout_wkt.c -o liblwgeom/lwout_wkt.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwin_wkb.c -o liblwgeom/lwin_wkb.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/ptarray.c -o liblwgeom/ptarray.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwout_wkb.c -o liblwgeom/lwout_wkb.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwpoly.c -o liblwgeom/lwpoly.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwpoint.c -o liblwgeom/lwpoint.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwout_gml.c -o liblwgeom/lwout_gml.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwgeom_topo.c -o liblwgeom/lwgeom_topo.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwcircstring.c -o liblwgeom/lwcircstring.o gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/include -DPOSTGIS_GEOS_VERSION=34 -I./liblwgeom -DHAVE_LIBGEOM_INTERNAL_H -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/sf/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c liblwgeom/lwin_wkt_parse.c -o liblwgeom/lwin_wkt_parse.o g++ -m64 -std=gnu++11 -shared -L/usr/lib64/R/lib -Wl,-z,relro -o lwgeom.so geodetic.o lwgeom.o RcppExports.o proj.o geos.o io.o sub.o liblwgeom/varint.o liblwgeom/lwout_twkb.o liblwgeom/lwpsurface.o liblwgeom/lwtriangle.o liblwgeom/lwmpoly.o liblwgeom/lookup3.o liblwgeom/lwin_wkt.o liblwgeom/gserialized1.o liblwgeom/lwgeom.o liblwgeom/gserialized2.o liblwgeom/lwstroke.o liblwgeom/lwtin.o liblwgeom/lwin_twkb.o liblwgeom/lwgeom_geos_cluster.o liblwgeom/lwmsurface.o liblwgeom/lwgeom_wrapx.o liblwgeom/lwiterator.o liblwgeom/lwgeom_geos_node.o liblwgeom/lwout_geojson.o liblwgeom/lwgeom_debug.o liblwgeom/lwgeom_median.o liblwgeom/lwmval.o liblwgeom/lwkmeans.o liblwgeom/lwgeom_geos.o liblwgeom/lwout_kml.o liblwgeom/lwutil.o liblwgeom/lwprint.o liblwgeom/lwrandom.o liblwgeom/lwmline.o liblwgeom/lwgeodetic_tree.o liblwgeom/lwline.o liblwgeom/bytebuffer.o liblwgeom/lwgeodetic.o liblwgeom/measures.o liblwgeom/lwgeom_api.o liblwgeom/lwmcurve.o liblwgeom/lwcollection.o liblwgeom/gbox.o liblwgeom/lwspheroid.o liblwgeom/lwout_svg.o liblwgeom/lwin_encoded_polyline.o liblwgeom/lwout_encoded_polyline.o liblwgeom/lwgeom_geos_split.o liblwgeom/effectivearea.o liblwgeom/lwboundingcircle.o liblwgeom/lwcurvepoly.o liblwgeom/lwlinearreferencing.o liblwgeom/lwunionfind.o liblwgeom/lwchaikins.o liblwgeom/lwalgorithm.o liblwgeom/lwhomogenize.o liblwgeom/lwgeom_geos_clean.o liblwgeom/measures3d.o liblwgeom/lwout_x3d.o liblwgeom/lwgeom_transform.o liblwgeom/lwin_wkt_lex.o liblwgeom/lwmpoint.o liblwgeom/stringbuffer.o liblwgeom/lwcompound.o liblwgeom/gserialized.o liblwgeom/lwout_wkt.o liblwgeom/lwin_wkb.o liblwgeom/ptarray.o liblwgeom/lwout_wkb.o liblwgeom/lwpoly.o liblwgeom/lwpoint.o liblwgeom/lwout_gml.o liblwgeom/lwgeom_topo.o liblwgeom/lwcircstring.o liblwgeom/lwin_wkt_parse.o -lproj -lproj -L/usr/lib64 -lgeos_c -lproj -L/usr/lib64 -lgeos_c -L/usr/lib64/R/lib -lR installing to /usr/lib64/R/library/00LOCK-lwgeom/00new/lwgeom/libs R inst byte-compile and prepare package for lazy loading help * installing help indices converting help for package ‘lwgeom’ finding HTML links ... fatto bounding_circle html
    geod html
    Rd warning: /tmp/RtmpZrDOIs/R.INSTALL3cf65815a17/lwgeom/man/geod.Rd:45: file link ‘st_distance’ in package ‘sf’ does not exist and so has been treated as a topic lwgeom_extSoftVersion html
    lwgeom_make_valid html
    perimeter html
    st_as_sfc.TWKB html
    st_astext html
    st_force_polygon_cw html
    st_geod_azimuth html
    st_geohash html
    st_is_polygon_cw html
    st_linesubstring html
    st_snap_to_grid html
    st_split html
    Rd warning: /tmp/RtmpZrDOIs/R.INSTALL3cf65815a17/lwgeom/man/st_split.Rd:12: file link ‘st_combine’ in package ‘sf’ does not exist and so has been treated as a topic st_startpoint html
    st_subdivide html
    st_transform_proj html
    building package indices ** testing if installed package can be loaded from temporary location Error: package or namespace load failed for ‘lwgeom’ in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object '/usr/lib64/R/library/00LOCK-lwgeom/00new/lwgeom/libs/lwgeom.so': /usr/lib64/R/library/00LOCK-lwgeom/00new/lwgeom/libs/lwgeom.so: undefined symbol: GEOSClipByRect Errore: loading failed Esecuzione interrotta ERROR: loading failed
  • removing ‘/usr/lib64/R/library/lwgeom’ Errore: Failed to install 'lwgeom' from GitHub: (contertito da avviso) installation of package ‘/tmp/RtmpPzlEnB/file2197405a122d/lwgeom_0.2-4.tar.gz’ had non-zero exit status
federicotallis commented 4 years ago

I am having the same issue when trying to deploy to Shinyapps.io. Locally, it works just fine.

edzer commented 4 years ago

liblwgeom in the version of PostGIS 3.0.0, shipped in released lwgeom, requires GEOS version to be >= 3.6.0; I failed to indicate and check this properly.

federicotallis commented 4 years ago

Still getting the same error when trying to deploy.

configure: CC: gcc configure: CXX: g++ -std=gnu++11 configure: pkg-config proj exists, will use it checking proj_api.h usability... no checking proj_api.h presence... no checking for proj_api.h... no configure: error: proj_api.h not found in standard or given locations. ERROR: configuration failed for package ‘lwgeom’

edzer commented 4 years ago

Yes, I meant to solve the issue brought up by @santoroma - yours is a different one. Did you look at #57?

edzer commented 4 years ago

... and have you tried installing from github?

federicotallis commented 4 years ago

Yes, I went ahead and installed it, but that didn't solve my issue. Here's my full log:

[2020-05-04T14:08:50.165242960+0000] Execute script: packages/build/units.sh

federicotallis commented 4 years ago

... and have you tried installing from github?

Yes, I have. I receive the same error.

edzer commented 4 years ago

I have no clue what you are trying to do, what for instance

[2020-05-04T14:08:50.165242960+0000] Execute script: packages/build/units.sh

means. Have you tried starting R, then

install.packages('remotes")
remotes::install_github("r-spatial/lwgeom")

? Please provide the complete output of that.

federicotallis commented 4 years ago

Same error:

edzer commented 4 years ago

You didn't answer my questions.

federicotallis commented 4 years ago

You didn't answer my questions.

Sorry, I'm trying to deploy my ShinyApp onto ShinyApps.io

Preparing to deploy application...DONE Uploading bundle for application: 2197624...DONE Deploying bundle: 3101422 for application: 2197624 ... Waiting for task: 725843412 building: Parsing manifest building: Building image: 3460227 building: Installing system dependencies building: Fetching packages building: Building package: lwgeom ################################ Begin Task Log ################################

edzer commented 4 years ago

Sorry, I can't help you with that.

federicotallis commented 4 years ago

Sorry, I can't help you with that.

I'm not sure I follow. Can't run the app because can't install lwgeom. It seems that I can't install the package onto the instance because of:

"configure: error: proj_api.h not found in standard or given locations. ERROR: configuration failed for package ‘lwgeom'

Need an alternate way to install package. Installing directly from source has failed. Any idea why?