Re: [gdal-dev] How to build GDAL without dependency on libtiff.so or libjpeg.so

2023-02-15 Thread Even Rouault
Hi, Assuming you're speaking about how to link against internal copy with CMake builds, cf GDAL_USE_TIFF_INTERNAL and GDAL_USE_JPEG_INTERNAL at https://gdal.org/development/building_from_source.html#tiff and https://gdal.org/development/building_from_source.html#jpeg Even if you set those, y

[gdal-dev] How to build GDAL without dependency on libtiff.so or libjpeg.so

2023-02-14 Thread Fengting Chen
Hi, In the old build system, I was able to build GDAL 3.4 using “—with-libtiff=internal” and “—with-jpeg=internal” . However, ldd on libgdal.so shows that it still depends on libtiff.so and libjpeg.so. How to build GDAL without this dependency? Thanks! _