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

ifort -openmp builds on Itanium red hat AS3.0: undefined _dl_load_lock

TimP
Honored Contributor III
198 Views
In the redhat AS3.0 Update 2 RC for Itanium, attempts to link an ifort -openmp build still produce link failures:
/usr/lib/libdl.a(dlsym.o).... In function 'dlsym':
: undefined reference to '_dl_load_lock'
There are at least 2 other libraries which come with AS3.0 which have the same undefined references.
I assume that ifort expects red hat eventually to support some function which currently is not there. Has anyone found the solution yet?
Looks like one of those finger-pointing situations.
0 Kudos
1 Reply
TimP
Honored Contributor III
198 Views
This problem is fixed by adding -ldl to the link options -openmp -Vaxlib. This is required only with ifort 8.0 (not with efc 7.1), and only with the newer glibc (2.3.2).
0 Kudos
Reply