The default options for the gdal port do not compile for me. PROCESS: cd graphics/gdal make rmconfig # Remove non-defaults if any exist portmaster graphics/gdal RESULT: /usr/ports/graphics/gdal/work/gdal-1.11.0/libgdal.so: undefined reference to `libiconv' /usr/ports/graphics/gdal/work/gdal-1.11.0/libgdal.so: undefined reference to `libiconv_close' /usr/ports/graphics/gdal/work/gdal-1.11.0/libgdal.so: undefined reference to `libiconv_open' c++: error: linker command failed with exit code 1 (use -v to see invocation) gmake[3]: *** [gdalinfo] Error 1 gmake[3]: Leaving directory `/usr/ports/graphics/gdal/work/gdal-1.11.0/apps' gmake[2]: *** [apps-target] Error 2 gmake[2]: Leaving directory `/usr/ports/graphics/gdal/work/gdal-1.11.0' *** Error code 1 FIX: cd graphics/gdal make config # Enable ICONV option portmaster graphics/gdal # Finishes successfully
Missed the version. It's gdal-1.11.0_7.
you probably have packages from before the libiconv changes. I suspect if you rebuilt everything (say in poudriere) and replaced your current pages, gdal would build fine. Let's see what the maintainer has to say...
I agree with Marino. To Rod Taylor: It seems to be raised by libiconv change/inconsistency among gdal dependencies and Mk/Uses/iconv.mk. Would you please try the following steps: 1. Update ports tree 2. Rebuild all graphics/gdal dependencies (including converters/iconv) 3. Rebuild graphics/gdal I think this should solve your problem. Thanks.
Submitter feedback timeout. Feel free to reopen PR if the problem persists.