--- lib/GNUmakefile.orig	2009-01-01 13:36:26.000000000 -0500
+++ lib/GNUmakefile	2009-01-01 13:38:31.000000000 -0500
@@ -3,7 +3,7 @@
 
 LIBDSO = libInventor.so
 
-LLDDSOOPTS += -L$(IVDEPTH)/libimage -L$(FLDIR)
+LLDDSOOPTS += -L$(IVDEPTH)/libimage -install_name $(IVPREFIX)/lib/$(LIBDSO) -L$(FLDIR)
 
 LLDLIBS = \
 	-ljpeg -limage $(FLLIB) \
