C shared library created with Compiler - compatibility between Linux distributions

3 views (last 30 days)
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

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:

More Answers (1)

Kaustubha Govind
Kaustubha Govind on 12 Feb 2011
I wouldn't expect any potential issues with that.


Find more on C Shared Library Integration in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!