system - wget

Hi,
I am using MatLab on a Linux system (openSUSE 11.4) and am trying to use the wget command within the matlab system command. I have the syntax etc correct however I cannot get it to work.
I have followed suggestions here: http://www.mathworks.de/matlabcentral/newsreader/view_thread/162466 editing "LDPATH_PREFIX" in matlab/bin/.matlab7rc.sh and adding links in the folder to system libraries which has solved a "`GLIBCXX_3.4.9' not found" issue. However, I now get the following error message: "wget: symbol lookup error: /usr/lib64/libkdecore.so.5: undefined symbol: _ZN9QListData11detach_growEPii" I assums I need to provide matlab some more links to system libraries but I am not sure which.
I am sure wget works on this system as it functions correctly from the terminal but not fromm within matlab r2011a.
Thanks

Answers (1)

Kaustubha Govind
Kaustubha Govind on 12 Oct 2011
Inside MATLAB, run:
>> !printenv LD_LIBRARY_PATH
or
>> system('printenv LD_LIBRARY_PATH')
and see if it matches the output of
$ printenv LD_LIBRARY_PATH
in the terminal. Perhaps you could try adding any missing paths to LDPATH_PREFIX.

Categories

Asked:

on 11 Oct 2011

Community Treasure Hunt

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

Start Hunting!