I’m stuck on Stage #RB2. The program does not seem to compile with Codecrafters because the SHA1 function in openssl/sha.h cannot be found.
When compiling locally, it compiles only with the slightly modified bash script where I put the -lcurl -lcrypto links at the end thus:
gcc src/main.c -o $tmpFile -lcurl -lcrypto
But changing the placement of the links in the your_bittorrent.sh script:
gcc app/*.c -o $tmpFile -lcurl -lcrypto
does not have a similar effect. The program still fails to compile for the same reasons, with the same output (see attached screenshot).
Any help would be very much appreciated!