- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page