Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

system can't find libimf.dylib

mesgarnejad__ata
Beginner
202 Views
I download and installed the last update to composer xe both for command line and Xcode. It works fine with Xcode but I suspect compilervars.sh doesn't set the path to dynamic libraries right since my program can't find libimf.dylib. I tried otool -L libimf.dylib to see if it can find the different versions but the output was:

# otool: can't open file: libimf.dylib (No such file or directory)
0 Kudos
1 Reply
Quoc-An_L_Intel
Moderator
202 Views

I don't think this is a bug. The script setup the runtime enviroment for Intel compiler built binaries since our libraries are located in the system default lib directory. Note that you would see the same issue with the default system lib.

intels-mac-pro:~ ale$ otool -L libstdc++.6.dylib

otool: can't open file: libstdc++.6.dylib (No such file or directory)

intels-mac-pro:~ ale$ otool -L /usr/lib/libstdc++.6.dylib

/usr/lib/libstdc++.6.dylib:

/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.9.0)

/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 123.0.0)

intels-mac-pro:~ ale$ otool -L libimf.dylib

otool: can't open file: libimf.dylib (No such file or directory)

intels-mac-pro:~ ale$ otool -L /opt/intel/composerxe-2011.1.122/compiler/lib/libimf.dylib

/opt/intel/composerxe-2011.1.122/compiler/lib/libimf.dylib:

libimf.dylib (compatibility version 0.0.0, current version 0.0.0)

libintlc.dylib (compatibility version 1.0.0, current version 1.11.0)

/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.3)

Reply