Hide Forgot
Description of problem: fltk 1.1: # fltk-config --ldflags: -lfltk # fltk-config --ldflags --use-gl -lfltk_gl -lGLU -lGL -lfltk fltk 1.3: $ fltk-config --ldflags -lfltk -lXext -lXft -lfontconfig -lXinerama -lpthread -ldl -lm -lX11 $ fltk-config --ldflags --use-gl -lfltk_gl -lGLU -lGL -lfltk -lXext -lXft -lfontconfig -lXinerama -lpthread -ldl -lm -lX11 Really need only be: $ fltk-config --ldflags -lfltk $ fltk-config --ldflags --use-gl -lfltk_gl As I understand it, when linking to fltk you need only specify -lfltk_gl or -lfltk, other deps are brought along automatically. Adding extra libs only adds unneeded deps and are only needed when static linking. Also as it stands packages building against fltk can get: /usr/bin/ld: cannot find -lXinerama because fltk-devel does not require libXinerama-devel. But again, I believe it is not necessary to specify the extra libraries. Version-Release number of selected component (if applicable): 1.3.0-0.1.rc5.fc16
I will fix this issue.
*** Bug 708334 has been marked as a duplicate of this bug. ***
(In reply to comment #0) > Description of problem: > > fltk 1.1: > # fltk-config --ldflags: > -lfltk > # fltk-config --ldflags --use-gl > -lfltk_gl -lGLU -lGL -lfltk > > fltk 1.3: > $ fltk-config --ldflags > -lfltk -lXext -lXft -lfontconfig -lXinerama -lpthread -ldl -lm -lX11 > $ fltk-config --ldflags --use-gl > -lfltk_gl -lGLU -lGL -lfltk -lXext -lXft -lfontconfig -lXinerama -lpthread -ldl > -lm -lX11 > > Really need only be: > $ fltk-config --ldflags > -lfltk > $ fltk-config --ldflags --use-gl > -lfltk_gl > > As I understand it, when linking to fltk you need only specify -lfltk_gl or > -lfltk, other deps are brought along automatically. Adding extra libs only > adds unneeded deps and are only needed when static linking. Right you are, deps should be picked up automatically.
fltk-1.3.0-0.2.rc5.fc16 should be fixed. If issue is still present, please reopen this ticket. Thanks for the report!