[gdal-dev] make failing with gdal-3.1.0 on Mac Catalina (10.15.4)

Gerald Nelson nelson.gerald.c at gmail.com
Tue May 26 07:03:40 PDT 2020


I get through the ./configure process successfully (at least with no error messages). When I run make I get a lot of messages but obvious error messages until I get towards the end when I get the following


 -rpath /usr/local/lib \

    -no-undefined \

    -version-info 27:0:0

Undefined symbols for architecture x86_64:

  "_FreeMapObject", referenced from:

      GIFDataset::CreateCopy(char const*, GDALDataset*, int, char**, int (*)(double, char const*, void*), void*) in gifdataset.o

  "_MakeMapObject", referenced from:

      GIFDataset::CreateCopy(char const*, GDALDataset*, int, char**, int (*)(double, char const*, void*), void*) in gifdataset.o

ld: symbol(s) not found for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

make[1]: *** [GNUmakefile:68: libgdal.la] Error 1

make[1]: Leaving directory '/Users/gcn/Downloads/gdal-3.1.0'

make: *** [GNUmakefile:79: check-lib] Error 2

The error seems to be associated with libgdal.1a. When I run


locate libgdal.la

It returns

/Applications/GRASS-7.4.1.app/Contents/Resources/lib/libgdal.la

This is a file with a June 2018 date which I suspect is both out of date and in the wrong place.

Suggestions for fixes greatly appreciated!

Gerald C. Nelson
Professor Emeritus, UIUC
+1 217-390-7888 (cell)
+1 970-639-2079 (land line)
Skype: jerrynelson
http://bit.ly/1arho7d
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20200526/684a60f0/attachment.html>


More information about the gdal-dev mailing list