Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
6981 Discussions

undefined symbol: _gfortran_internal_malloc64

Becker__Neal
Beginner
226 Views
p, li { white-space: pre-wrap; }

/opt/intel/mkl/10.1.1.019/lib/em64t/libmkl_gnu_thread.so: undefined symbol: _gfortran_internal_malloc64

This is Fedora 10 x86_64.

I tried linking with -lgfortran, but that didn't help. /usr/lib64/libgfortran.so does not contain that symbol.

0 Kudos
2 Replies
TimP
Honored Contributor III
226 Views
Quoting - ndbecker
p, li { white-space: pre-wrap; }

/opt/intel/mkl/10.1.1.019/lib/em64t/libmkl_gnu_thread.so: undefined symbol: _gfortran_internal_malloc64

This is Fedora 10 x86_64.

I tried linking with -lgfortran, but that didn't help. /usr/lib64/libgfortran.so does not contain that symbol.

This appears to be version-dependent. It's in the (unfortunately obsolete) gfortran 4.1 library on RedHat 5.2, but not in my gfortran 4.4.
0 Kudos
Becker__Neal
Beginner
226 Views
Quoting - tim18
This appears to be version-dependent. It's in the (unfortunately obsolete) gfortran 4.1 library on RedHat 5.2, but not in my gfortran 4.4.

Yes, I figured it out.
1) Install compat-libgfortran-41
2) ln -s libgfortran.so.1 /usr/lib64/libgfortran-41.so
3) link with -lgfortran-41

Could someone please add this to the release notes?
0 Kudos
Reply