Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I'm trying to make program called yafu that requires gmp-ecm. I've edited Makefile:

INC += -I../ecm-6.4.4
LIBS += -L../ecm-6.4.4

But i have:

 /usr/bin/ld: cannot find -lecm


I've compiled ecm without installing.

How to do this without "make install"?

Ok. libecm.a was in .libs folder.

share|improve this question
Is there a libecm.a file in ../ecm-6.4.4? You might need to give an absolute path to that directory. –  pjc50 Apr 22 '13 at 10:22
libecm.la and some libecm_la-.o , libecm_la-.lo –  asdf Apr 22 '13 at 10:37

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.