help > RE: Overwrite libtiff in Matlab to run IO toolbox
Jul 16, 2010 06:07 PM
RE: Overwrite libtiff in Matlab to run IO toolbox
Let's use the Mac/Linux version(s) of Matlab as the example. What you can do is to disable the default libtiff in Matlab, and instead make it point to the good libtiff of the correct version.
Assume you have already installed libtiff under /usr/local/lib.
Then what you can do is to go to /Path-to-matlab/bin/maci (or maci64 or similar folder for a linux system), and list all *libtiff* files. And then rename or remove the original "libtiff.3.dylib" file. Then you can create a symbolic link to the correct one in the /usr/local/lib folder.
Then it should work (w/o need to re-start Matlab).
Hanchuan Peng, Ph.D.,
Janelia Farm Research Campus
Howard Hughes Medical Institute
19700 Helix Drive,
Ashburn, VA, 20147, USA.
Tel: (+1) 571-209-4156
Fax: (+1) 571-209-4933
* Peng Lab: http://penglab.janelia.org
* V3D lets you explore & understand your
large 3D/4D/5D images a lot easier!
- fast 3D+ image visualization and analysis,
WYSIWYG, and easy plugin interface:
Originally posted by Fernando Amat:
I installed the V3D Matlab IO toolbox and compiled the MEX files. However, when I try to run it Matlab complains of two libraries clashing: libtiff from Matlab itself and libtiff I installed in /usr/local/lib
I am using Mac OS 64 bit. I would like to know how to tell Matlab to llok for libtiff in /usr/local/lib instead of th eother one.