C shared library created with Compiler - compatibility between Linux distributions
1 view (last 30 days)
Show older comments
Hello!
I need to deploy to several clients a shared library created with Matlab compiler. They are running the same type of hardware as me, but different Linux distributions (e.g. Ubuntu, Gentoo...).
Has somebody tried this before? Are there potential issues with this?
Thanks! Pierre
0 Comments
Accepted Answer
Shaf
on 16 Feb 2011
The version of the kernel, glibc(C-runtime library), libstdc++(C++ runtime library), binutils(for ld - the linker loader) can cause issues. The MCR ships the version of libstdc++.so that a compiled library needs in MCRROOT/sys/os/glnx86 or MCRROOT/sys/os/glnxa64. The system requirement page mentions minimum kernel and glibcx version:
http://www.mathworks.com/support/sysreq/current_release/linux.html
0 Comments
More Answers (1)
See Also
Categories
Find more on C Shared Library Integration 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!