“ ld:mach-o字符串池超出文件末尾”是什么意思?

时间:2020-01-08 23:03:11

标签: xcode clang gfortran

我目前正在尝试制作和安装专业软件套件(https://github.com/scottransom/presto),并且遇到此错误:

gfortran -g -fPIC -o /path-to/presto/bin/psrorbit powerplot.o xyline.o psrorbit.o -L/usr/local/Cellar/cfitsio/3.450/lib -lcfitsio -lcurl -L/path-to/presto/lib -lpresto -L/usr/local/lib -lfftw3f -L/usr/local/lib/pgplot -lcpgplot -lpgplot -L/opt/X11/lib -lX11 -L/opt/X11/lib -lpng16 -lm
ld: mach-o string pool extends beyond end of file in /usr/local/lib/libcpgplot.dylib file '/usr/local/lib/libcpgplot.dylib' for architecture x86_64
collect2: error: ld returned 1 exit status
make: *** [psrorbit] Error 1

我不认为这与PRESTO本身有关,因为一些搜索(请参阅thisthisthis)指出了一些基本的问题,也许是Xcode。我目前有版本11.3,并且还安装了命令行工具。再说一遍,错误本身是什么意思?任何帮助将是有用的!

0 个答案:

没有答案