1.36.1 installation issue

Dear all,

I’m having problems installing Mothur version 1.36.1 on our linux server (/bin folder). I download the 1.36.1 “source code” .zip-file from Github, and extract to my “/bin/mothur”-folder on the server. Then, I nano open the “makefile”, comment out the “TARGET_ARCH” line (as I am not using Windows) and uncomment the “CXXFLAGS” line (as I am installing on a linux system).

I then run the “make” command, the code starts compiling, but after a while I get the following error message:

/usr/bin/ld: cannot find -lm
collect2: ld returned 1 exit status
strip: ‘uchime’: No such file
ls: cannot access uchime: No such file or directory
sum: uchime: No such file or directory
make: *** [uchime] Error 1

Does anyone know why this happends, and/or have suggestions to how I may install Mothur 1.36.1 correctly?

All answers are appreciated!

Best,

Even S. Riiser,
PhD student, Oslo

Hi,

Basically it can’t find the library m.

On Debain libm.so is provided by libc6-dev, fedora/rpm based I believe it’s glibc-devel

Ian