gdal 3.1.0在Mac Catalina(10.15.4)上失败

时间:2020-05-26 19:53:32

标签: installation gdal

我成功完成了./configure过程(至少没有错误消息)。当我运行make时,会收到很多消息,但是明显的错误消息,直到我收到以下消息时结束

promise-future

该错误似乎与libgdal.1a有关。当我跑步

 -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

返回

locate libgdal.la 

这是一个日期为2018年6月的文件,我怀疑它既过期又位于错误的位置。

0 个答案:

没有答案