eflomal icon indicating copy to clipboard operation
eflomal copied to clipboard

library not found for -lrt

Open andremarco opened this issue 5 years ago • 1 comments

When I try to run the make command, I get the following error: ld: library not found for -lrt collect2: error: ld returned 1 exit status make: *** [eflomal] Error 1

I am using gcc 8.3 Any ideas?

andremarco avatar Mar 27 '19 13:03 andremarco

MacOS Mojave

This worked for me: Simply, open the file called "Makefile" and delete the option -lrt Reference (link)

I got another error: install: illegal option -- t Solution is to change this line in "Makefile": install -t /usr/local/bin eflomal into this (note the order): install eflomal /usr/local/bin

Finally, I got the error: ModuleNotFoundError: No module named 'Cython' I solved it with installing 'Cython' with: sudo pip3 install Cython

Now, the alignment command works perfectly on my Mac.

ymoslem avatar Jun 29 '19 18:06 ymoslem