Score:0

How do I change the env var LD_LIBRARY_PATH by inserting the local path as the FIRST?

cn flag

I am trying to solve a Matlab crash that I am experiencing by following this solution: https://www.mathworks.com/matlabcentral/answers/1567188-simulink-crash-in-ubuntu-20-04

I successfully followed this tutorial, replacing 2.32 with 2.34. However, I have no idea how to change the "env var LD_LIBRARY_PATH" at all. Which commands should I use?

cc flag
Look in your .profile to see how LD_LIBRARY_PATH was set up. Changes should be obvious.
hr flag
AFAIK `LD_LIBRARY_PATH` is not set by default in any Ubuntu installation, and in any case you probably *only* want to set it for MATLAB so I'd suggest doing that via the application's `.desktop` file ex. `Exec=env LD_LIBRARY_PATH=/path/to/lib /path/to/matlab`
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.