- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I was building a program with ifort, however at the lingking stage, it was reported that 'ld: cannot find -lm'
How to solve this?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It was solved by installing libf2c2, gfortran and gcc, turned out my kubuntu system is an unstable version so I had to change the sources to long term support.
sed -I 's/trusty/xenial/g' /etc/apt/sources.list
sudo apt-get update
sudo apt-get dist-upgrade
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