[postgis-devel] Compile error with sfcgal

Vincent Mora vincent.mora at oslandia.com
Mon Dec 1 09:06:50 PST 2014


https://github.com/Oslandia/SFCGAL/issues/65

Fixed. Thanks a lot for reporting.



On 30/11/2014 16:32, Stefan Ziegler wrote:
> Hi
>
> I'm trying to compile Postgis 2.1.3 with SFCGAL but I do get some errors:
>
> make[2]: Entering directory
> `/home/stefan/Develop/src/postgis-2.1.3/raster/loader'
> gcc -g -O2  -fPIC -DPIC  -Wall -Wmissing-prototypes -I../rt_core
> -I../../liblwgeom  -I/usr/include/gdal -I/usr/include   -c raster2pgsql.c
> /bin/bash ../../libtool --mode=link gcc -g -O2  -fPIC -DPIC  -Wall
> -Wmissing-prototypes -I../rt_core -I../../liblwgeom  -I/usr/include/gdal
> -I/usr/include   ../rt_core/librtcore.a raster2pgsql.o ../../liblwgeom/
> liblwgeom.la -L/usr/lib -lgdal  -L/usr/lib -lgeos_c  -lc -lm -o raster2pgsql
> libtool: link: gcc -g -O2 -fPIC -DPIC -Wall -Wmissing-prototypes
> -I../rt_core -I../../liblwgeom -I/usr/include/gdal -I/usr/include
> raster2pgsql.o -o .libs/raster2pgsql  ../rt_core/librtcore.a
> ../../liblwgeom/.libs/liblwgeom.so -L/usr/lib -lgdal -lgeos_c -lc -lm
> //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
>
> SFCGAL was successfully compiled from master and I'm on Ubuntu 14.04. Any
> ideas? A missing boost library? I did install the package libboost-all-dev.
>
> best regards
> Stefan
>
>
>
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20141201/6eadeea3/attachment.html>


More information about the postgis-devel mailing list