robintw / PyProSAIL

Python interface to the ProSAIL leaf/canopy reflectance model
GNU Lesser General Public License v3.0
24 stars 25 forks source link

Problem installing pyprosail #5

Closed Fscipioni closed 2 years ago

Fscipioni commented 2 years ago

Hi Robin, I'm sorry, but I need to ask your help again...

I'm trying to install pyprosail, I tried with pip and with easy_install, but I get this error message:

l

d: library not found for -lSystem collect2: error: ld returned 1 exit status ld: library not found for -lSystem collect2: error: ld returned 1 exit status error: Setup script exited with error: Command "/usr/local/bin/gfortran -Wall -Wall -undefined dynamic_lookup -bundle build/temp.macosx-11.6-x86_64-2.7/build/src.macosx-11.6-x86_64-2.7/PyPROSAIL/_prosail_modelmodule.o build/temp.macosx-11.6-x86_64-2.7/build/src.macosx-11.6-x86_64-2.7/fortranobject.o build/temp.macosx-11.6-x86_64-2.7/tmp/easy_install-qTBzct/PyPROSAIL-1.0.2/pyprosail/MODULE_PRO4SAIL.o build/temp.macosx-11.6-x86_64-2.7/tmp/easy_install-qTBzct/PyPROSAIL-1.0.2/pyprosail/dataSpec_P5B.o build/temp.macosx-11.6-x86_64-2.7/tmp/easy_install-qTBzct/PyPROSAIL-1.0.2/pyprosail/LIDF.o build/temp.macosx-11.6-x86_64-2.7/tmp/easy_install-qTBzct/PyPROSAIL-1.0.2/pyprosail/dladgen.o build/temp.macosx-11.6-x86_64-2.7/tmp/easy_install-qTBzct/PyPROSAIL-1.0.2/pyprosail/PRO4SAIL.o build/temp.macosx-11.6-x86_64-2.7/tmp/easy_install-qTBzct/PyPROSAIL-1.0.2/pyprosail/prospect_5B.o build/temp.macosx-11.6-x86_64-2.7/tmp/easy_install-qTBzct/PyPROSAIL-1.0.2/pyprosail/tav_abs.o build/temp.macosx-11.6-x86_64-2.7/tmp/easy_install-qTBzct/PyPROSAIL-1.0.2/pyprosail/volscatt.o build/temp.macosx-11.6-x86_64-2.7/tmp/easy_install-qTBzct/PyPROSAIL-1.0.2/pyprosail/PyPROSAIL.o build/temp.macosx-11.6-x86_64-2.7/build/src.macosx-11.6-x86_64-2.7/PyPROSAIL/_prosail_model-f2pywrappers.o build/temp.macosx-11.6-x86_64-2.7/build/src.macosx-11.6-x86_64-2.7/PyPROSAIL/_prosail_model-f2pywrappers2.o -L/usr/local/lib/gcc/x86_64-apple-darwin14.0.0/4.9.2 -lgfortran -o build/lib.macosx-11.6-x86_64-2.7/PyPROSAIL/_prosail_model.so" failed with exit status 1

I tried to google this library, -lSystem, but nothing came out.

I tried the installation on two MacBooks, both with Big Sur, and I got the same problem.

robintw commented 2 years ago

Sorry, I'm no longer able to provide support for PyProSAIL - I thought I had put a notice on the repo saying that it was no longer supported, but I think I never actually committed the changes. I'll do that now.