필터 지우기
필터 지우기

Annoying Warning messages:

조회 수: 1 (최근 30일)
Chaman Singh Verma
Chaman Singh Verma 2016년 11월 20일
댓글: Chaman Singh Verma 2016년 11월 24일
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
Image Analyst
Image Analyst 2016년 11월 20일
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 2016년 11월 24일
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.

댓글을 달려면 로그인하십시오.

답변 (1개)

Chinmayi Lanka
Chinmayi Lanka 2016년 11월 23일
편집: Chinmayi Lanka 2016년 11월 23일
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
Chaman Singh Verma
Chaman Singh Verma 2016년 11월 24일
Hi, Do you know how it should be done with the bash shell ?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by