C shared library created with Compiler - compatibility between Linux distributions

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

 Accepted Answer

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

More Answers (1)

Categories

Products

Asked:

on 22 Jan 2011

Community Treasure Hunt

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

Start Hunting!