3

I have tried to manually download the latest version of gdal (2.3.0 at time of this post) so that I can compile it on linux x64 (ubuntu 16.04) with the --with-pdfium flag enabled to test out GeoPDF to MapBox Vector Tile conversion. After much tinkering I seem to have successfully compiled pdfium with https://github.com/klokantech/pdfium/blob/build/build-lin.sh, but when I go to compile gdal it errors out with undefined reference to CFDF_Document::CreateNewDoc().

Has anyone successfully built gdal 2.3.0 or above with the --with-pdfium on linux? Can you link to working instructions? Are there precompiled binaries available?

Edit: I can't get this working so I'm just going to use podofo which is installable from apt-get.

1
  • exact same issue with compilation of GDAL 2.4.4 --with-pdfium on Centos7 ... did anyone manage to find out what is struggling during compilation ? Commented Nov 3, 2023 at 17:37

1 Answer 1

0

For the record, by adding the --without-libtool flag, the build ends with no errors, and GDAL seems to be working properly. However I don't know about the impact of compiling GDAL without libtool support.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.