Project

General

Profile

Actions

Submit #3169

closed

cpdup utility for Linux operating system failed to compile

Added by bronko75 over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Userland
Target version:
-
Start date:
01/19/2019
Due date:
% Done:

0%

Estimated time:

Description

Good Day,

While compiling cpdup for Linux ( https://github.com/DragonFlyBSD/cpdup.git <https://github.com/DragonFlyBSD/cpdup.git&gt;) on a Debian 9.6 box, I’ve encountered the following error:

compat_md5.o: In function `MD5File':
compat_md5.c:(.text+0x2f): undefined reference to `MD5_Init'
compat_md5.c:(.text+0x47): undefined reference to `MD5_Update'
compat_md5.c:(.text+0x7e): undefined reference to `MD5_Final'
collect2: error: ld returned 1 exit status
Makefile:20: recipe for target 'cpdup' failed
make: *** [cpdup] Error 1

I was able to fix it by adding -lcrypto to the CFLAGS. Patch attached.

Kind regards

Philippe


Files

Actions

Also available in: Atom PDF