Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing link to libm #3

Closed
eevee opened this issue May 24, 2012 · 3 comments
Closed

Missing link to libm #3

eevee opened this issue May 24, 2012 · 3 comments

Comments

@eevee
Copy link

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.

@ghost ghost assigned akhleung May 24, 2012
@akhleung
Copy link

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

@QuLogic
Copy link
Contributor

QuLogic commented Jul 24, 2013

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

@xzyfer
Copy link
Contributor

xzyfer commented Nov 2, 2014

This appears to be resolved. Closing for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants