Difference between revisions of "Library conflicts"
(6 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
Here we will list some of the problems found when installing/activating '''Dynamo'''. | Here we will list some of the problems found when installing/activating '''Dynamo'''. | ||
− | == Conflicting libstdc installations == | + | == Conflicting <tt>libstdc</tt> installations == |
'''Problem''' | '''Problem''' | ||
Line 12: | Line 12: | ||
<tt>LD_PRELOAD="/usr/lib/x86_64-linux-gnu/libstdc++.so.6" </tt> | <tt>LD_PRELOAD="/usr/lib/x86_64-linux-gnu/libstdc++.so.6" </tt> | ||
+ | |||
+ | or, correspondingly for bash shell | ||
+ | |||
+ | <tt> export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libstdc++.so.6</tt> | ||
(or the equivalent in your system) before starting Matlab (or ''Dynamo'' in the standalone) | (or the equivalent in your system) before starting Matlab (or ''Dynamo'' in the standalone) | ||
+ | |||
+ | == Graphic depiction problems in the standalone== | ||
+ | |||
+ | Some systems report a conflict when trying to generate graphical output in the Linux standalone: | ||
+ | |||
+ | <nowiki>Error using axes | ||
+ | While setting property 'Parent' of class ''Axes'': | ||
+ | Can't load '<your installation path>/MCRLinux/bin/glnxa64/libmwosgserver.so': dlopen: cannot load any more object with static TLS</nowiki> | ||
+ | |||
+ | These kind of errors can be solved by preloading the library '''before''' calling the ''Dynamo''console by <tt>dynamo</tt> | ||
+ | |||
+ | <tt> export LD_PRELOAD=<your installation path>/MCRLinux/bin/glnxa64/libmwosgserver.so</tt> | ||
+ | |||
+ | == Characters appear as blocks in the GUIs == | ||
+ | |||
+ | '''Problem''' | ||
+ | |||
+ | Some or all elements in a GUI don't show text characters. In place of text characters, empty square blocks are shown. | ||
+ | |||
+ | '''Solution''' | ||
+ | Install the <tt>dejavu-fonts</tt> package in your Linux system. |
Latest revision as of 15:02, 4 May 2018
Here we will list some of the problems found when installing/activating Dynamo.
Conflicting libstdc installations
Problem Some programs (specially the core of the GPU computations) cannot link to GLIBCXX.3.4.21 or some other number. This might happen both in Matlab or standalone modus.
Solution
Type in your linux shell
LD_PRELOAD="/usr/lib/x86_64-linux-gnu/libstdc++.so.6"
or, correspondingly for bash shell
export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libstdc++.so.6
(or the equivalent in your system) before starting Matlab (or Dynamo in the standalone)
Graphic depiction problems in the standalone
Some systems report a conflict when trying to generate graphical output in the Linux standalone:
Error using axes While setting property 'Parent' of class ''Axes'': Can't load '<your installation path>/MCRLinux/bin/glnxa64/libmwosgserver.so': dlopen: cannot load any more object with static TLS
These kind of errors can be solved by preloading the library before calling the Dynamoconsole by dynamo
export LD_PRELOAD=<your installation path>/MCRLinux/bin/glnxa64/libmwosgserver.so
Characters appear as blocks in the GUIs
Problem
Some or all elements in a GUI don't show text characters. In place of text characters, empty square blocks are shown.
Solution Install the dejavu-fonts package in your Linux system.