Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Missing link to libm #3

Closed
eevee opened this Issue · 3 comments

4 participants

@eevee

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 akhleung was assigned
@akhleung
Owner

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

@QuLogic

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

@akhleung akhleung was unassigned by eevee
@xzyfer
Owner

This appears to be resolved. Closing for now.

@xzyfer xzyfer closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.