Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

ld: cannot find -lm

IDZ_A_Intel
Employee
663 Views

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/

0 Kudos
1 Reply
hamid_mosaddeghi
Beginner
663 Views
I use

yum install glibc-static in fedora core 12

sloved peroblem thanks
0 Kudos
Reply