Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
27162 Discussions

Getting error for library not found: ld: library not found for -lSystem

ManishM
Novice
1,067 Views

I'm trying to compile a fortran code but it's throwing an error for library not found for -lSystem. I have installed the basic and hpc kit on my Mac Big Sur. Couldn't locate this library in the oneapi package. It is trying to find the said library in the directory:

-I/opt/intel/oneapi/compiler/latest/mac/compiler/include

 

Any help would be appreciated

0 Kudos
1 Solution
mecej4
Black Belt
974 Views

See if this solves the problem.

View solution in original post

3 Replies
mecej4
Black Belt
975 Views

See if this solves the problem.

ManishM
Novice
917 Views

Yeah, it solved the issue. I didn't know the library path is changed to default path rather than in oneapi

volkerblum
Beginner
878 Views

I had the same problem upon a fresh install of Big Sur 11.4 and Intel Fortran classic 2021.3

The solution referenced above does solve the issue here as well. However, it's not an entirely obvious step. Is this something that could be checked during installation?

Anyway, I am grateful that the issue was documented here.

Reply