If you have installed the B storage in /usr or in /usr/local, more o less these are the correct commands: wget http://download.librdf.org/source/redland-1.0.5.tar.gz tar xvfz redland-1.0.5.tar.gz cd redland-1.0.5 patch -p0 < /where/the/b/tarball/is/redland/patch_1.0.5 ./autogen.sh LIBS="-lb" ./configure [options] make make install