Community
cancel
Showing results for 
Search instead for 
Did you mean: 
sspine
Beginner
84 Views

Link error on mac OS X 10.6

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
84 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

sspine
Beginner
84 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.
Gennady_F_Intel
Moderator
84 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
Reply