> ../usr/bin/ld: cannot find -l/usr/local/lib
Consider that a test.. or an example of my drunken state, regardless of that.. It's obvious that you have no experience with the options of the compiler.. You failed the test. ;) Change it to -L/usr/local/lib Read manual pages: gcc(1) and ld(1) for starters. Buy something from or something: http://www.amazon.com/ -Nix Fan.