On Wed, 2012-12-19 at 18:30 +0100, Miloslav Trmač wrote:
On Wed, Dec 19, 2012 at 6:27 PM, Bryn M. Reeves
<bmr(a)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
Jeez, Ubuntu still hasn't done that?
--
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | identi.ca: adamwfedora
http://www.happyassassin.net