I found the problem. The linking of the shared libraries was using /usr/lib64 as the library directory; however, the version of libfltk.a in that folder was old and not compiled with -fPIC, just as the error message stated. The fix (for me) was to remove the -L/usr/lib64 from DSOFLAGS, as shown:
Index: fltk-1.1/makeinclude =================================================================== --- fltk-1.1.orig/makeinclude +++ fltk-1.1/makeinclude @@ -74,7 +74,7 @@ DSOCOMMAND = $(CXX) $(DSOFLAGS) -Wl,-son # libraries to link with: AUDIOLIBS = -lasound -DSOFLAGS = -L/usr/lib64 +DSOFLAGS = -L. LDFLAGS = $(OPTIM) -L/usr/lib64 LDLIBS = -ldl -lm -lXext -lX11 GLDLIBS = -lGLU -lGL -ldl -lm -lXext -lX11 I know this change should be somewhere in the configure scripts/files, but I didn't see where it should go. I'll file an STR for this condition. _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

