0

It appears that Matlab has its own version of the linux shared libraries. I have a program that requires libwfdb, a shared library that calls into a few of the standard shared libraries. The programs work fine on my machine, but when Matlab tries to call them using the system() function it fails because its versions are too old. Specifically, I get

/usr/local/MATLAB/R2014a/bin/glnxa64/libcurl.so.4: no version information available (required by /usr/local/lib64/libwfdb.so.10)

Is there a way for me to update my Matlab shared libraries? Or is there a workaround where I can run the command as a local user? I'm on Ubuntu 14.04 if it matters.

EDIT: I'd prefer not to link all the libraries. I already tried that with libcurl and it failed because it wanted a new version of libssl and libcrypto.

Amro
  • 123,847
  • 25
  • 243
  • 454
Nate
  • 2,462
  • 1
  • 20
  • 28

1 Answers1

0

For future reference, I was able to workaround this by setting my LD_LIBRARY_PATH in Matlab before running any of my system commands. Definitely not the best solution, but it works:

setenv('LD_LIBRARY_PATH', '/usr/lib/x86_64-linux-gnu/');

Nate
  • 2,462
  • 1
  • 20
  • 28