As you have linked the Intel OpenMP dynamic library, you must take care that no other OpenMP libraries are linked, and that the compilers in use all use compatible run-time libraries. Intel Fortran treats both icc and gcc as "companion processors" for the purpose of C interoperability, and libiomp5 is designed to work as a replacement for libgomp. However, other Fortran compilers, such as gfortran, will have run-time library incompatibility with ifort, so any libraries compiled with gnu fortran or some other fortran would be troublesome. Some of our colleagues have worked with libffio, and that is not easy to get working correctly.
You might note that MKL can work with gfortran, but this requires use of the gnu_thread library in place of the ifort compatible intel_thread library; either of those works with libiomp5, but they don't work together.