<div dir="ltr"><div><div><div><div>Hi all,<br></div>I am trying to build GDAL with PDFium<br><br>I saw the link<br><a href="https://github.com/rouault/pdfium/tree/build" target="_blank">https://github.com/rouault/pdf<wbr>ium/tree/build</a><br><br>I tried to use the linux script and the pdfium static lib to build. <b>pdfium build succeed.</b> <br><br></div><div>I have few Questions:<br><br></div><div>Q1: I see some 3rdpary dependency for PDFium, I don't see those LICENSES included, does overall including the 3rparty dependency, PDFium library comes to point like similar to MIT license ?.<br><br></div><div>Q2. Can we do a cross compile with for PDFium, or any one tried.<br><br></div><div>Q3. Has any one got an error like this (error message follows in next few lines) ? or I have gone wrong in build steps.<br></div></div><br></div>I started to build GDAL gdal-2.2.0 with pdfium<br><div><br>./configure --with-pdfium=/home/pdfium/install<br><br>libtool: link: g++ .libs/gdalinfo_bin.o -o .libs/gdalinfo  /home/works/gdal_fresh/gdal-2.2.0/.libs/libgdal.so -L/home/pdfium/install -L/home/pdfium/install/lib/pdfium -lpdfium -lfpdfapi -lfpdftext -lformfiller -lpdfwindow -lfxedit -lfpdfdoc -lfxcodec -lfx_libopenjpeg -lfx_lcms2 -lfx_libjpeg -lfx_zlib -lfdrm -lfxge -lfreetype -lfx_agg -lfxcrt -lbigint -lz -lpthread -lrt -ldl <br>/usr/bin/ld: .libs/gdalinfo: hidden symbol `_ZN13CFDF_Document12CreateNewDocEv' in /home/pdfium/install/lib/pdfium/libfpdfapi.a(fpdf_parser_fdf.o) is referenced by DSO<br>/usr/bin/ld: final link failed: Bad value<br>collect2: error: ld returned 1 exit status<br>GNUmakefile:82: recipe for target 'gdalinfo' failed<br>make[1]: *** [gdalinfo] Error 1<br>make[1]: Leaving directory '/home/works/gdal_fresh/gdal-2.2.0/apps'<br>GNUmakefile:93: recipe for target 'apps-target' failed<br>make: *** [apps-target] Error 2<br><br></div><div>Thanks<br></div><div>Gane R<br></div></div>