fltk

Adam Jackson ajax at redhat.com
Wed Dec 19 16:17:22 UTC 2012


On Thu, 2012-12-20 at 01:55 +1000, Adrian wrote:
> No it is not, the reason flrig cannot be built in fedora as it is easy
> in Ubuntu. Lets not get behind the 8 ball.

Assuming by flrig you mean this:

http://www.w1hkj.com/downloads/flrig/flrig-1.3.09.tar.gz

Then flrig itself is not exactly blameless:

/usr/bin/ld: flrig-rig.o: undefined reference to symbol 'XCreatePixmap'
/usr/bin/ld: note: 'XCreatePixmap' is defined in DSO /lib64/libX11.so.6
so try adding it to the linker command line
/lib64/libX11.so.6: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status

In general you must not rely on what the libraries you link against
themselves link against.  If you need a symbol from libX11, say so.

(I suppose one could argue that fltk-config is not like pkgconfig and
that fltk promises to supply you more libraries than you need to link
against.  Which would be sort of funny, a "lightweight" toolkit bloating
out your link like that.)

- ajax



More information about the devel mailing list