HPCE / hpce-2016-cw5

0 stars 2 forks source link

librt not found on Mac OS #3

Closed Szypicyn closed 7 years ago

Szypicyn commented 7 years ago

Doing make all on a Mac returns ld: library not found for -lrt. After searching stackoverflow I tried commenting out LDLIBS += -lrt.

Everything then compiles. But when running any of the puzzles e.g. ./bin/run_puzzle julia I get Segmentation fault: 11 , which would indicate that the code is trying to access memory which is not allocated. Is this related to librt?

I would prefer not to waste my AWS credits on fixing this on a different platform if possible.

pm1113 commented 7 years ago

You need to call the command serenity_now. That will show you an example of how to run the program.