Compiling sources oneself
Have the BOINC source code untarred to ~/boinc, the libraries compiled, and then
cd ~/boinc/samples/wrapper make
This process needs to be repeated for every Linux architecture you plan to support. This is why typically only the most mainstreamish Linux flavours are supported, i.e. amd64 and i386.