- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I want to use the intel ODE solver on a linux 32-bit OS system (fedora 14 distribution)
I'm using the intel fortran compiler.
Following the installation manual, I've tried to run the examples by doing :
ifort -static iode_example_f.f -I../../include -L../../lib/ia32 -liode_ia32 -lm -o iode.out
which gave me the following error :
ld: cannot find -lm
ld: cannot find -lm
ld: cannot find -lc
ld: cannot find -ldl
ld: cannot find -lc
I know this must be a stupid problem.
Any suggestions will help!
Thx.
I want to use the intel ODE solver on a linux 32-bit OS system (fedora 14 distribution)
I'm using the intel fortran compiler.
Following the installation manual, I've tried to run the examples by doing :
ifort -static iode_example_f.f -I../../include -L../../lib/ia32 -liode_ia32 -lm -o iode.out
which gave me the following error :
ld: cannot find -lm
ld: cannot find -lm
ld: cannot find -lc
ld: cannot find -ldl
ld: cannot find -lc
I know this must be a stupid problem.
Any suggestions will help!
Thx.
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Problem solved !!!
Thx.
The cause of the problem was indeed that, on redHat or Fedora distribution, compiling with -fast or -static causes a linker error "ld: cannot find -lm".
Solution was obtained by installing the static version of glibc, as in the link Gennady posted.
Thx.
The cause of the problem was indeed that, on redHat or Fedora distribution, compiling with -fast or -static causes a linker error "ld: cannot find -lm".
Solution was obtained by installing the static version of glibc, as in the link Gennady posted.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page