【发布时间】:2020-01-08 23:03:11
【问题描述】:
我目前正在尝试制作和安装一套专业软件 (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 本身有关的问题,因为多次搜索(请参阅 this、this 和 this)指向一些基本的东西,也许是 Xcode。我目前有版本 11.3,并且我还安装了命令行工具。再说一遍,错误本身意味着什么?任何帮助都会很有用!
【问题讨论】: