From: Roland H. <ro...@mx...> - 2013-07-14 08:16:47
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello developers, can you please include the fix Aaron (thank you for your help) is suggesting? Best regards, Roland - -------- Original Message -------- Subject: Re: Bug#716834: libfltk1.3-dev: --ldflags should contain -ldl Date: Sat, 13 Jul 2013 22:08:42 -0400 From: uc...@de... (Aaron M. Ucko) To: r.h...@we... CC: 716...@bu... Source: fltk1.3 Version: 1.3.2-3 r.h...@we... writes: > the named package should contain -ldl for linking this library with > programs. If this flag is absent, I get the following error > message: > > /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libfltk.a(Fl_x.o): undefined > reference to symbol 'dlsym@@GLIBC_2.2.5' That indicates that you've explicitly requested static linkage, in which case I would recommend substituting fltk-config --ldstaticflags, whose (slightly redundant) output includes -ldl: $ fltk-config --ldstaticflags /usr/lib/x86_64-linux-gnu/libfltk.a -lXext -lXft -lfontconfig - -lfontconfig -lXinerama -ldl -lm -lX11 I appreciate your interest in the package, and am sorry you ran into trouble. - -- Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org) http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?am...@mo... -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlHiXn4ACgkQty+BhcbHvXh2SgCePUtzoieQU+9VZbk9FPcJV26Q 0x8An1WzTkrseA50yWdvRIFQN+C5iATP =F432 -----END PGP SIGNATURE----- |