0

mkdir -p lib gcc -o lib/libnlsartoolbox.so tools/sarerror.o tools/sarprintf.o tools/sarwaitbar.o tools/matrixtools.o tools/inv_func.o data/iorat.o data/iobin.o data/ioxima.o data/iosar.o data/ionetpbm.o data/sardata.o data/rgbdata.o data/fltdata.o data/sar2rgb.o algos/carfilter/sarboxcar.o algos/carfilter/sardiskcar.o algos/carfilter/sargausscar.o algos/carfilter/fltboxcar.o algos/nlsar/nlsar.o algos/nlsar/sarsimstats.o algos/nlsar/sarsim_glrwishart.o algos/nlsar/phi.o algos/noisegen/noisegen.o -shared -lm -lpthread -lfftw3f -L/usr/lib/x86_64-linux-gnu -llapack -L/usr/lib/x86_64-linux-gnu tools/sarerror.o: file not recognized: File format not recognized collect2: error: ld returned 1 exit status Makefile:90: recipe for target 'lib/libnlsartoolbox.so' failed make: *** [lib/libnlsartoolbox.so] Error 1

i want to install libnlsartoolbox.

./configure make sudo make install The configuration is succeed but when am doing make am getting error saying that tools/sarerror.o: file not recognized: File format not recognized collect2: error: ld returned 1 exit status

  • It sounds like you are trying to link object files that were generated for a different OS architecture than your native one. Please edit you question to give us more context. – steeldriver Feb 13 at 13:26
  • /sarerror.o: file not recognized: File format not recognized – T raj Feb 13 at 14:22
  • collect2: error: ld returned 1 exit status Makefile:90: recipe for target 'lib/libnlsartoolbox.so' failed make: *** [lib/libnlsartoolbox.so] Error 1 – T raj Feb 13 at 14:22
  • I meant "context" as in (1) what software you are trying to build (2) where you obtained it (3) what steps you took leading up to the error. If you are following an online installation guide please link it. – steeldriver Feb 13 at 14:25
  • Can you help me to fix this – T raj Feb 13 at 14:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.