フィルターのクリア

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 Center および File ExchangeLogical についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by