That's what I'm unsure of. How do I determine where it is looking? Is that to be found somewhere in the Makefile?
I think it should be looking in /usr/local/lib. The only other place is in /usr/local/lib/sparcv9, which has only 64-bit files, so I'm pretty sure that isn't the right place.