<div dir="ltr"><div>Thanks Mateusz.</div><div><br></div><div>I still get linking errors with that patch applied. However, the SDK libraries are now in the linking tool arguments:</div><div><br></div><div>/bin/bash /home/informix/dev/gdal/gdal/libtool --mode=link --silent g++ -L/opt/IBM/Informix_Client-SDK/lib/ -L/opt/IBM/Informix_Client-SDK/lib/esql -lifsql -lifasf -lifgen -lifos -lifgls -lifglx /opt/IBM/Informix_Client-SDK/lib/esql/checkapi.o -L/opt/IBM/Informix_Client-SDK/lib/dmi -lifdmi -L/opt/IBM/Informix_Client-SDK/lib/c++ -lifc++ -lcrypt gdalinfo_bin.lo /home/informix/dev/gdal/gdal/<a href="http://libgdal.la">libgdal.la</a> -o gdalinfo<br>/opt/IBM/Informix_Client-SDK/lib/c++/libifc++.so: undefined reference to `mi_cleanup'<br>/opt/IBM/Informix_Client-SDK/lib/c++/libifc++.so: undefined reference to `ifx_int8cvasc'<br>/opt/IBM/Informix_Client-SDK/lib/c++/libifc++.so: undefined reference to `mi_typeid_is_distinct'<br>....<br>/opt/IBM/Informix_Client-SDK/lib/c++/libifc++.so: undefined reference to `mi_lo_seek'<br>/opt/IBM/Informix_Client-SDK/lib/c++/libifc++.so: undefined reference to `mi_typeid_is_constructor'<br>/opt/IBM/Informix_Client-SDK/lib/c++/libifc++.so: undefined reference to `_ifx_gl_mbsrchr'<br>collect2: error: ld returned 1 exit status<br>GNUmakefile:94: recipe for target 'gdalinfo' failed<br>make[1]: *** [gdalinfo] Error 1<br>make[1]: Leaving directory '/home/informix/dev/gdal/gdal/apps'<br>GNUmakefile:120: recipe for target 'apps-target' failed<br>make: *** [apps-target] Error 2<br><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Aug 25, 2020 at 9:10 PM Mateusz Loskot <<a href="mailto:mateusz@loskot.net">mateusz@loskot.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Tue, 25 Aug 2020 at 12:58, Jeremy Palmer <<a href="mailto:palmerjnz@gmail.com" target="_blank">palmerjnz@gmail.com</a>> wrote:<br>
><br>
> Then I run make which is ok until linking of app tools:<br>
><br>
> /bin/bash /home/informix/dev/gdal/gdal/libtool --mode=link --silent g++ gdalinfo_bin.lo /home/informix/dev/gdal/gdal/<a href="http://libgdal.la" rel="noreferrer" target="_blank">libgdal.la</a> -o gdalinfo<br>
> /opt/IBM/Informix_Client-SDK/lib/c++/libifc++.so: undefined reference to `mi_cleanup'<br>
> ... heaps of informix function references<br>
> /opt/IBM/Informix_Client-SDK/lib/c++/libifc++.so: undefined reference to `_ifx_gl_mbsrchr'<br>
> collect2: error: ld returned 1 exit status<br>
> GNUmakefile:90: recipe for target 'gdalinfo' failed<br>
> make[1]: *** [gdalinfo] Error 1<br>
> make[1]: Leaving directory '/home/informix/dev/gdal/gdal/apps'<br>
> GNUmakefile:120: recipe for target 'apps-target' failed<br>
> make: *** [apps-target] Error 2<br>
<br>
See this thread, and try the GitHub link at the bottom<br>
<a href="https://lists.osgeo.org/pipermail/gdal-dev/2017-September/047275.html" rel="noreferrer" target="_blank">https://lists.osgeo.org/pipermail/gdal-dev/2017-September/047275.html</a><br>
<br>
<br>
Best regards,<br>
-- <br>
Mateusz Loskot, <a href="http://mateusz.loskot.net" rel="noreferrer" target="_blank">http://mateusz.loskot.net</a><br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a></blockquote></div></div>