Borrar filtros
Borrar filtros

Annoying Warning messages:

1 visualización (últimos 30 días)
Chaman Singh Verma
Chaman Singh Verma el 20 de Nov. de 2016
Comentada: Chaman Singh Verma el 24 de Nov. de 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 comentarios
Image Analyst
Image Analyst el 20 de Nov. de 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 el 24 de Nov. de 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.

Iniciar sesión para comentar.

Respuestas (1)

Chinmayi Lanka
Chinmayi Lanka el 23 de Nov. de 2016
Editada: Chinmayi Lanka el 23 de Nov. de 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 comentario
Chaman Singh Verma
Chaman Singh Verma el 24 de Nov. de 2016
Hi, Do you know how it should be done with the bash shell ?

Iniciar sesión para comentar.

Categorías

Más información sobre Logical en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by