Compiling/Linking your program with the DataHarvester
The data harvester comes with a pkg-config file script.
g++ `pkg-config dataharvester --cflags` -o myprog.o myprog.c g++ -shared `pkg-config dataharvester --libs` -o libmylib.so myprog.o
should do the job.