[gdal-dev] nitfwritejpeg.cpp:(.text+0x104): undefined reference to `jpeg_vsiio_dest(jpeg_compress_struct*, _IO_FILE*)'
Pei JIA
jp4work at gmail.com
Fri May 6 20:35:52 PDT 2022
Hi, all:
It looks *libjpeg8-dev libjpeg-turbo8-dev* from Ubuntu 22.04's repo is *NOT
compatible* with current GDAL git? Any suggestions?
*[ 89%] Linking CXX shared library libgdal.so/usr/local/bin/cmake -E
cmake_link_script CMakeFiles/GDAL.dir/link.txt --verbose=1/usr/bin/c++
-fPIC -fvisibility=hidden -Wl,--no-undefined -shared
-Wl,-soname,libgdal.so.30 -o libgdal.so.30.0.0
@CMakeFiles/GDAL.dir/objects1.rsp
-Wl,-rpath,/usr/local/lib:/usr/lib/x86_64-linux-gnu/hdf5/serial: -lm -ldl
/usr/lib/x86_64-linux-gnu/libz.so /usr/lib/x86_64-linux-gnu/libcurl.so
/usr/lib/x86_64-linux-gnu/libodbc.so
/usr/lib/x86_64-linux-gnu/libodbcinst.so
/usr/lib/x86_64-linux-gnu/libxml2.so
/usr/lib/x86_64-linux-gnu/libcryptopp.so
/usr/lib/x86_64-linux-gnu/libcrypto.so /usr/lib/x86_64-linux-gnu/libssl.so
/usr/lib/x86_64-linux-gnu/libzstd.so /usr/lib/x86_64-linux-gnu/liblzma.so
/usr/lib/x86_64-linux-gnu/libdeflate.so /usr/lib/x86_64-linux-gnu/liblz4.so
/usr/lib/x86_64-linux-gnu/libblosc.so /usr/lib/libarmadillo.so
/usr/lib/x86_64-linux-gnu/libproj.so
/usr/lib/x86_64-linux-gnu/libqhull_r.so
/usr/lib/x86_64-linux-gnu/libproj.so /usr/lib/x86_64-linux-gnu/libz.so
/usr/lib/x86_64-linux-gnu/libxerces-c.so
/usr/lib/x86_64-linux-gnu/libproj.so /usr/lib/x86_64-linux-gnu/libtiff.so
/usr/lib/x86_64-linux-gnu/libjpeg.so
/usr/lib/x86_64-linux-gnu/libgeotiff.so
/usr/lib/x86_64-linux-gnu/libtiff.so /usr/lib/x86_64-linux-gnu/libjpeg.so
/usr/lib/x86_64-linux-gnu/libproj.so
/usr/lib/x86_64-linux-gnu/libgeotiff.so
/usr/lib/x86_64-linux-gnu/libtiff.so /usr/lib/x86_64-linux-gnu/libheif.so
/usr/lib/x86_64-linux-gnu/libjpeg.so /usr/lib/x86_64-linux-gnu/libpng.so
/usr/lib/x86_64-linux-gnu/libz.so /usr/lib/x86_64-linux-gnu/libLerc.so
/usr/lib/x86_64-linux-gnu/libzstd.so /usr/local/lib/libbrunslienc-c.so
/usr/local/lib/libbrunslidec-c.so /usr/lib/x86_64-linux-gnu/libpng.so
/usr/lib/x86_64-linux-gnu/libz.so /usr/lib/x86_64-linux-gnu/libz.so
/usr/lib/x86_64-linux-gnu/libjpeg.so /usr/lib/x86_64-linux-gnu/libz.so
/usr/lib/x86_64-linux-gnu/libpoppler.so /usr/local/lib/libpodofo.so
/usr/lib/x86_64-linux-gnu/libpng.so /usr/lib/x86_64-linux-gnu/libz.so
/usr/lib/x86_64-linux-gnu/libgif.so
/usr/lib/x86_64-linux-gnu/libnetcdf.so.19
/usr/lib/x86_64-linux-gnu/libblosc.so
/usr/lib/x86_64-linux-gnu/libcfitsio.so
/usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so
/usr/lib/x86_64-linux-gnu/libcrypto.so /usr/lib/x86_64-linux-gnu/libcurl.so
/usr/lib/x86_64-linux-gnu/libpthread.a /usr/lib/x86_64-linux-gnu/libsz.so
/usr/lib/x86_64-linux-gnu/libz.so /usr/lib/x86_64-linux-gnu/libdl.a -lm
/usr/lib/x86_64-linux-gnu/libcurl.so /usr/lib/x86_64-linux-gnu/libwebp.so
/usr/lib/x86_64-linux-gnu/libsqlite3.so /usr/lib/x86_64-linux-gnu/libz.so
/usr/lib/x86_64-linux-gnu/libpq.so /usr/local/lib/libopenjp2.so
/usr/lib/x86_64-linux-gnu/libtiledb.so.2.6
/usr/lib/x86_64-linux-gnu/libIlmImf.so
/usr/lib/x86_64-linux-gnu/libIlmImfUtil.so
/usr/lib/x86_64-linux-gnu/libHalf.so /usr/lib/x86_64-linux-gnu/libIex.so
/usr/lib/x86_64-linux-gnu/libxerces-c.so
/usr/lib/x86_64-linux-gnu/libsqlite3.so
/usr/lib/x86_64-linux-gnu/libxerces-c.so
/usr/lib/x86_64-linux-gnu/libxerces-c.so
/usr/lib/x86_64-linux-gnu/libfyba.so /usr/lib/x86_64-linux-gnu/libfygm.so
/usr/lib/x86_64-linux-gnu/libfyut.so
/usr/lib/x86_64-linux-gnu/libsqlite3.so
/usr/lib/x86_64-linux-gnu/libproj.so
/usr/lib/x86_64-linux-gnu/libpcre2-8.so
/usr/lib/x86_64-linux-gnu/libspatialite.so
/usr/lib/x86_64-linux-gnu/librasterlite2.so
/usr/lib/x86_64-linux-gnu/libsqlite3.so
/usr/lib/x86_64-linux-gnu/libsqlite3.so
/usr/lib/x86_64-linux-gnu/libsqlite3.so
/usr/lib/x86_64-linux-gnu/libsqlite3.so
/usr/lib/x86_64-linux-gnu/libxerces-c.so
/usr/lib/x86_64-linux-gnu/libmysqlclient.so
/usr/lib/x86_64-linux-gnu/libpq.so /usr/lib/x86_64-linux-gnu/libodbc.so
/usr/lib/x86_64-linux-gnu/libodbc.so /usr/lib/x86_64-linux-gnu/libodbc.so
/usr/lib/x86_64-linux-gnu/libfreexl.so /usr/local/lib/libopencad.so
/usr/lib/x86_64-linux-gnu/libproj.so /usr/lib/libogdi.so
/lib/x86_64-linux-gnu/libexpat.so.1.8.7
/usr/lib/x86_64-linux-gnu/libxml2.so
/usr/lib/x86_64-linux-gnu/libgeos_c.so.1.16.0
/usr/lib/x86_64-linux-gnu/libproj.so /usr/lib/x86_64-linux-gnu/libproj.so
/usr/lib/x86_64-linux-gnu/libjson-c.so.5.1.0
/usr/lib/x86_64-linux-gnu/libcrypto.so -lm /usr/bin/ld:
frmts/nitf/CMakeFiles/gdal_NITF.dir/nitfwritejpeg.cpp.o: in function
`NITFWriteJPEGBlock(GDALDataset*, _IO_FILE*, int, int, int, int, int, int,
unsigned char const*, int, int (*)(double, char const*, void*),
void*)':nitfwritejpeg.cpp:(.text+0x104): undefined reference to
`jpeg_vsiio_dest(jpeg_compress_struct*, _IO_FILE*)'collect2: error: ld
returned 1 exit statusmake[2]: *** [CMakeFiles/GDAL.dir/build.make:2386:
libgdal.so.30.0.0] Error 1make[2]: Leaving directory
'....../gdal/build'make[1]: *** [CMakeFiles/Makefile2:4517:
CMakeFiles/GDAL.dir/all] Error 2make[1]: Leaving directory
'....../gdal/build'*
Cheers
--
Pei JIA, Ph.D.
Email: jp4work at gmail.com
cell in Canada: +1 778-863-5816
cell in China: +86 186-8244-3503
Welcome to Vision Open
http://www.visionopen.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20220506/f47984c6/attachment.htm>
More information about the gdal-dev
mailing list