vpicavet / docker-pggis

Docker image for GIS-enabled PostgreSQL
GNU General Public License v2.0
56 stars 21 forks source link

Building image fails - postgis fails to compile #5

Closed mevinbabuc closed 9 years ago

mevinbabuc commented 9 years ago

Building docker image fails. Docker version 1.3.2, build 39fa2fa

//usr/local/lib/libSFCGAL.so.1: undefined reference to `vtable for boost::unit_test::unit_test_log_t'
collect2: error: ld returned 1 exit status
make[2]: *** [raster2pgsql] Error 1
make[2]: Leaving directory `/postgis-2.1.3/raster/loader'
make[1]: *** [rtloader] Error 2
make[1]: Leaving directory `/postgis-2.1.3/raster'
make: *** [all] Error 1
2014/11/26 17:07:28 The command [/bin/sh -c cd postgis-2.1.3 && make -j3 && make install] returned a non-zero code: 2
mevinbabuc commented 9 years ago

Hi, i'm still facing this problem after upgrading to docker version 1.5. what am I missing here. Any help is appreciated.

Thanks

mevinbabuc commented 9 years ago

This docker image fails to build with SFGAL support. It compiles fine when SFGAL support is removed.

vpicavet commented 9 years ago

Updated versions, PostGIS and SFCGAL compiling fine now. Reopen if facing problems again.