Closed Un1Gfn closed 1 year ago
I don't have libmd-dev installed on my Linux machine, but it works because configure
picks up that the MD5 functions don't exist and provides a compat layer withihn libkcgi.a, so the Makefile works as-is. I don't know why yours doesn't.
However, Linux works best by using libbsd-dev, which pulls in libmd-dev:
CFLAGS=$(pkg-config --cflags libbsd-overlay) \
./configure LDFLAGS=$(pkg-config --libs libbsd-overlay)
I've now added this to the main README.
Anyway, I've added the MD5 library bits to the sample build, which was indeed missing. Thanks again!
Building samples fail[A].
Package libmd (arch) (debian (dev)) provides the following: )
MD5{Init,Update,Final}.3.gz
)libmd.pc
)libmd.so
It seems that either
-lmd
orpkg-config --libs libmd
should be added ) forsample(s)
target ) if the build system detects Linux instead of BSDI can't make a PR. I found no configure.ac and don't know how
./configure
is generated :/ BSD noob[A]