link error compiling GIMP plugin

Michael Schwendt mschwendt at gmail.com
Sun Nov 3 20:59:15 UTC 2013


On Sun, 03 Nov 2013 15:55:18 -0500, Frank wrote:

> I am trying to compile the FocusBlue plugin for GIMP on Fedora 19.
> The make file spits out this error when linking:
> 
> 
> /usr/bin/ld: diffusion.o: undefined reference to symbol 'expf@@GLIBC_2.0'
> /usr/bin/ld: note: 'expf@@GLIBC_2.0' is defined in DSO /lib/libm.so.6 so 
> try adding it to the linker command line

(!)

> /lib/libm.so.6: could not read symbols: Invalid operation
> 
> 
> Can anyone help?

Try adding  -lm  to the linker invocation (e.g. in a Makefile).


More information about the users mailing list