hidden text to trigger early load of fonts ПродукцияПродукцияПродукцияПродукция Các sản phẩmCác sản phẩmCác sản phẩmCác sản phẩm المنتجاتالمنتجاتالمنتجاتالمنتجات מוצריםמוצריםמוצריםמוצרים
Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29027 Discussões

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

ManishM
Novato
6.280 Visualizações

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 Solução
mecej4
Colaborador honorário III
6.187 Visualizações
3 Respostas
mecej4
Colaborador honorário III
6.188 Visualizações

See if this solves the problem.

ManishM
Novato
6.130 Visualizações

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

volkerblum
Principiante
6.091 Visualizações

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.

Responder