Kai-Uwe Behrmann wrote:
> Is there a special reason to build FLTK with rpath. I saw it in the 
> configure.in script.

Yes, otherwise shared library builds won't work when installed in
another location.  In particular, since we pull the shared libfltk
from ../src when we make the programs, if there is a
../src/libfltk.so.2 library relative to the current directory when
you run the app, libdl.so may will the wrong libfltk.so.2 without
-rpath.  On other OS's, their run-time linkers will not even try
using ${libdir}/libfltk.so.2 without -rpath.

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Publishing Software        http://www.easysw.com
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to