Clear Filters
Clear Filters

Annoying Warning messages:

1 view (last 30 days)
Chaman Singh Verma
Chaman Singh Verma on 20 Nov 2016
Hello,
When I do anything on my machine (even when not using Matlab), I get the following very annoying message coming from Matlab.
/usr/bin/cmake: /usr/local/MATLAB/R2016b/bin/glnxa64/libcurl.so.4: no version information available (required by /usr/bin/cmake)
What is the best way to get rid of it ?
csv
  2 Comments
Image Analyst
Image Analyst on 20 Nov 2016
What is your operating system? And can you explain how/why you get that message even when you're NOT using MATLAB? That seems strange since MATLAB is in the path of the file that some other program is trying to access. And what does "When I do anything on my machine" mean? You mean like even when you move the mouse or launch any program that error message spews out to the console window?
Chaman Singh Verma
Chaman Singh Verma on 24 Nov 2016
Hello, I have given the MATLAB path in my bashrc file and even if my intention is not to use matlab and compile other codes the message from comes from the MATLAB path. Usually I disable MATLAB path from the .bashrc file to get rid of the messages, but switching on/off MATLAB path is not comfortable.

Sign in to comment.

Answers (1)

Chinmayi Lanka
Chinmayi Lanka on 23 Nov 2016
Edited: Chinmayi Lanka on 23 Nov 2016
MATLAB sets the LD_LIBRARY_PATH variable so that the libraries it ships with are at the top of the the linker's search path. In some cases the versions of libraries that MATLAB ships with are different from the ones expected by external applications.
To work around this, you can clear the LD_LIBRARY_PATH at the beginning of your "system" call. The method for doing this depends on your shell. For example, if you use tcsh you could use
origLD = getenv('LD_LIBRARY_PATH');
setenv('LD_LIBRARY_PATH','');
Perform your other operations and set the environment variable before starting MATLAB. setenv('LD_LIBRARY_PATH',origLD);
  1 Comment
Chaman Singh Verma
Chaman Singh Verma on 24 Nov 2016
Hi, Do you know how it should be done with the bash shell ?

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!