This is one way to do it:
https://gitorious.org/~hof/fg/hof-flightgear/commit/d379698b72d0191d98e5c2f14cf049415b867c0b
<https://gitorious.org/%7Ehof/fg/hof-flightgear/commit/d379698b72d0191d98e5c2f14cf049415b867c0b>
Patch checks if the system supports libdl and if so, adds it to the
library list.
Cheers,
Hof
On 07/14/2013 04:17 AM, Roland Haeder wrote:
-----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:u...@debian.org (Aaron M. Ucko)
To:r.hae...@web.de
CC:716834-d...@bugs.debian.org
Source: fltk1.3
Version: 1.3.2-3
r.hae...@web.de 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/?a...@monk.mit.edu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAlHiXn4ACgkQty+BhcbHvXh2SgCePUtzoieQU+9VZbk9FPcJV26Q
0x8An1WzTkrseA50yWdvRIFQN+C5iATP
=F432
-----END PGP SIGNATURE-----
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel