[postgis-devel] Compile error with sfcgal
Stefan Ziegler
stefan.ziegler.de at gmail.com
Sun Nov 30 07:32:12 PST 2014
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20141130/01505bbd/attachment.html>
More information about the postgis-devel
mailing list