I was converting a pfb file to osg and had trouble with a missing image library. I added -all in front of -limage where PFLIBS is defined in Make/makedefs to solve my problem.