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

Link error on mac OS X 10.6

sspine
Beginner
243 Views
I have built a custom MKL shared library libcustommkl.dylib on mac OS X 10.6 with xcode 3.2. When I link libcustommkl.dylib, it reports link error: "libcustommkl.dylib, file is not of required architecture."
MKL version is 1.1.088.
What's wrong with me?
0 Kudos
3 Replies
Gennady_F_Intel
Moderator
243 Views
Hi,
- You pointed the wrong version of MKL (MKL version is 1.1.088.).
May be you are using MKL from Intel Compiler? In this case please look at this KB article to point the correct version of MKL you are using.
- it seems that you built your custom dll say for ia32 architecture but trying to link with intel64 architecture or visa versa.
--Gennady

0 Kudos
sspine
Beginner
243 Views
11.1.088 is the version number of intel compiler.
I built my custom dylib in both ia32 and em64t, either one will make the same linking error.
0 Kudos
Gennady_F_Intel
Moderator
243 Views
2 quustions:
1)could you please tell us the list of functions you are using into customer dll?
2)Could you give all the log files when building the library?
--Gennady
0 Kudos
Reply