Comments (1)
This solution works on Ubuntu
This happens when the Matlab provided versions of glibc are too old for MRTrix3, which here requires version 3.4_26.
You need to find if your computer has the right version somewhere, and if needed install it.
To check the versions that come with Ubuntu, type the following in the linux terminal:
(1) strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBC
This is where glibc is installed by default. If the needed version is not there, try:
(2) locate libstdc++
And test the command (1) for the different outputs of command (2).
If you did not find the required version anywhere, you need to install it, which I will not cover here.
Once you found the right version, keep its path, e.g. /usr/lib/x86_64-linux-gnu/
if you are lucky.
A first solution is to indicate that path in your module, which is done by writing the following below the "The core of the module starts here" lines in the module:
setenv('LD_LIBRARY_PATH', ['/usr/lib/x86_64-linux-gnu/:', getenv('LD_LIBRARY_PATH')]);
Another solution (not fully tested) could be to type in the linux terminal before launching matlab:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/x86_64-linux-gnu/libstdc++.so.6
I think you can also write that in your .bashrc, but I did not test for it.
from mp3_user_modules_repository.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mp3_user_modules_repository.