What is the easiest way for me to build a .so version of librsync in linux?
I actually want the 3 CFFI functions exposed in this Windows fork:
https://github.com/LennardF1989/librsyncSo I'm using the rdiff.c from that fork and have fixed the warnings about missing prototypes and unused variables.
I've tried to research how to use libtools to build a .so file.
Running these commands gets me the closest so far:
./configure --enable-shared
make all check
But outputs these errors:
./.libs/librsync.so: undefined reference to `blake2b_init'
./.libs/librsync.so: undefined reference to `blake2b_update'
./.libs/librsync.so: undefined reference to `blake2b_final'
./.libs/librsync.so: undefined reference to `RollsumUpdate'
I think I'll need rdiff.so because the 3 CFFI calls I want are defined in rdiff.c.
Any guidance is appreciated.