ld: cannot find -lm

ld: cannot find -lm

RHEL 6.x, FC14, FC13, FC12, SL6.x, CentOS 6, etc. and possibly other recent distributions:

error when using -static or -fast:

ld: cannot find -lm

See this article: http://software.intel.com/en-us/articles/error-ld-cannot-find-lm/

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

I use

yum install glibc-static in fedora core 12

sloved peroblem thanks

Best Regards

Leave a Comment

Please sign in to add a comment. Not a member? Join today