Add new comment

Sorry, no Linux on hands, so

Sorry, no Linux on hands, so could not check the advice:
1) ./configure --enable-shared=no
2) make clean && make # to rebuild
This will remove shared (.so) libraries and will build static (.a) instead

Than build your sample.

If you have installed libraw libraries somewhere in system (/usr/local/lib or so) you may need to deinstall it

-- Alex Tutubalin @LibRaw LLC