Why do I receive errors when I attempt to explicitly load generated shared libraries created from the MATLAB C/C++ Math Libraries on Linux?
Mostra commenti meno recenti
Why do I receive errors when I attempt to explicitly load generated shared libraries created from the MATLAB C/C++ Math Libraries on Linux?
I have created a shared library using the MATLAB Compiler on Linux using MATLAB (for example, libhello.so). When I attempt to load this from standalone C-code using the DLOPEN function, I receive an error.
I use the following steps to compile the program:
1. I execute the following code:
mcc -t -W lib:libhello -T link:lib hello.m
gcc -o test main.c -ldl
2. I then receive the following error when executing the 'test':
$ ./test
libmwlapack: load error:
/usr/local/src/matlab-6.1/bin/glnx86/atlas_PIII.so:
undefined symbol: ieeeck_
libmwlapack: load error: /usr/local/src/matlab-6.1/bin/glnx86/lapack.so:
undefined symbol: xerbla_
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Code Performance in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!