fltk

Miloslav Trmač mitr at volny.cz
Wed Dec 19 17:30:09 UTC 2012


On Wed, Dec 19, 2012 at 6:27 PM, Bryn M. Reeves <bmr at redhat.com> wrote:
> On Fedora the following command fails:
>
> g++ -I/usr/include/freetype2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
> -D_THREAD_SAFE -D_REENTRANT -pipe -Wall -fexceptions -O2 -ffast-math
> -finline-functions -fomit-frame-pointer   -DNDEBUG -g -O2   -o flrig
> [...] -Wl,-Bsymbolic-functions -lfltk_images -lfltk  -ldl  -lrt  -lpthread
>
> While on Ubuntu it works (run in a similarly prep'ed source tree);
> something appears to be "magically" adding -lX11 during the link step on
> Ubuntu
Probably http://fedoraproject.org/wiki/Features/ChangeInImplicitDSOLinking
   Mirek


More information about the devel mailing list