Missing link to libm #3

eevee opened this Issue May 24, 2012 · 3 comments


None yet
4 participants

eevee commented May 24, 2012

Linking fails:

/usr/bin/ld: libsass/libsass.a(functions.o): undefined reference to symbol 'floor@@GLIBC_2.2.5'
/usr/bin/ld: note: 'floor@@GLIBC_2.2.5' 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

Following this helpful suggestion fixes the problem. Just add -lm to the gcc line in the Makefile.

akhleung was assigned May 24, 2012

Thanks; I'll explicitly add the -lm if other environments need it (though it builds fine on my test systems).


QuLogic commented Jul 24, 2013

Shouldn't this be closed? It looks like it's been done.

akhleung was unassigned by eevee Jun 6, 2014


xzyfer commented Nov 2, 2014

This appears to be resolved. Closing for now.

xzyfer closed this Nov 2, 2014

waltervn referenced this issue in dreamchess/dreamchess Jun 27, 2015


Make BUG #6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment