Jason Testart <jatestart@cs.uwaterloo.ca> writes:
> I'm building postgres-8.2.5 on Solaris 8 SPARC, using a gcc built (not
> by me) for our environment. We have an old home-grown software
> distribution/configuration management system that arranges
> shared-objects and binaries are in non-standard places. So to find
> them, I use -L and -R in $(CFLAGS) and $(LFLAGS) to make sure
> dependencies (like krb5/ssl libraries) are found.
Try adjusting 'rpathdir' in src/Makefile.global (post-configure), instead.
regards, tom lane