There is no pthread lib in your libs list. Try to add it (-pthread) into 
makefile.
May be this help you (for csh)
setenv LDFLAGS -pthread

"-L/ usr/local/lib" (from your output) space after first slash, I think your 
should remove it.

Reply via email to