Found a small typo in the developers-handbook. http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/tools-compiling.html Section 2.4 <snip> -llibrary Specify a function library to be used during when linking. </snip>