Overriding MATLAB library in mex with compiler specific library (Linux 64 bit system)

2 views (last 30 days)
I've seen what I believe to be a few similar cases, but nothing conclusive enough to help me out with my problem. I'm attempting to use Intel Composer XE Fortran compiler to create a mex file for running in MATLAB R2011a. When I successfully compile the code and attempt to execute the mex file, I'm given an error that the symbol __intel_sse2_strcat is undefined within libifcoremt.so.5. I'd like to link libirc during mex (that's where the symbol is defined as confirmed with grep), but MATLAB links its own version that does not have the symbol defined. The error persists as a result. From what I can gather I'll need to statically link the libirc that I would like to use. When I add the full path to the mexopts.sh FLIBS field no link is created, likewise when I invoke -Bstatic -lirc. Does anyone have any advice? Thanks.

Answers (0)

Categories

Find more on Write C Functions Callable from MATLAB (MEX Files) in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!