Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

SFCGAL gets linked into GDAL SVN and issues strange compiler message #41

Closed
bmoskovi opened this issue Nov 27, 2013 · 4 comments
Closed

Comments

@bmoskovi
Copy link

I'm getting a strange warning message while compiling GDAL SVN. There is no GDAL configure option for SFCGAL and yet SFCGAL gets linked into GDAL. Here is the info:
$ gdalinfo --version
GDAL 1.11dev, released 2013/04/13

$ sfcgal-config --version
1.0.3

*** Warning: Linking the executable gdalbuildvrt against the loadable module
*** libSFCGAL.so is not portable!
libtool: link: g++ .libs/gdalbuildvrt.o -o .libs/gdalbuildvrt /home/bob/dev/gis/gdal/.libs/libgdal.so -L/usr/local/lib -L/usr/lib -L/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server -larmadillo -lpoppler -lwebp -lodbc -lodbcinst -lkmldom -lkmlbase -lkmlengine -lkmlconvenience -lminizip -luriparser /usr/lib/x86_64-linux-gnu/libexpat.so -lxerces-c -ljasper -lnetcdf -lhdf5 /usr/lib/libmfhdfalt.so /usr/lib/libdfalt.so /usr/lib/x86_64-linux-gnu/libgif.so /usr/local/lib/libgeotiff.so -ljpeg /usr/lib/x86_64-linux-gnu/libtiff.so -lgta -lpng -lpq -llzma -lrt /usr/local/lib/libspatialite.so -ldl /usr/local/lib/libfreexl.so -lz /usr/local/lib/liblwgeom.so /usr/local/lib/libSFCGAL.so /usr/local/lib/libproj.so -lm -lpthread /usr/lib/x86_64-linux-gnu/libjson.so /usr/local/lib/libgeos_c.so /usr/local/lib/libgeos.so /usr/lib/x86_64-linux-gnu/libsqlite3.so -lpcre /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so -ljvm -lxml2

@vmora
Copy link
Contributor

vmora commented Dec 19, 2013

This is probably due to the postgis config (that has the sfcgal option). I see a dep on liblwgeom here.

But there should be no dependency on SFCGAL.

@bmoskovi
Copy link
Author

I see. So, should I be worried about these warning messages? It would be a shame to uninstall the sfcgal option in postgis.

@vmora
Copy link
Contributor

vmora commented Jan 2, 2014

I think you can safely ignore this if your are not creating a package (i.e. installing on a system should be fine).

I will contact a postgis developer to try and remove this warning.

@vmora
Copy link
Contributor

vmora commented Jan 15, 2014

@ocourtin

@mhugo mhugo closed this as completed Feb 25, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants