help > RE: Overwrite libtiff in Matlab to run IO toolbox
Jul 17, 2010  01:07 AM | Hanchuan Peng
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


--
====================================

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
Email: pengh@janelia.hhmi.org

* 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:
http://penglab.janelia.org/proj/v3d




Originally posted by Fernando Amat:
Hi,
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.

Thanks,
Fernando[/userquote]

Threaded View

TitleAuthorDate
Fernando Amat Jul 16, 2010
RE: Overwrite libtiff in Matlab to run IO toolbox
Hanchuan Peng Jul 17, 2010
John Roberts May 24, 2012
Thomas Templier Aug 9, 2011
Hanchuan Peng Aug 9, 2011
Thomas Templier Aug 9, 2011
Thomas Templier Aug 10, 2011
Hanchuan Peng Aug 10, 2011
Thomas Templier Aug 10, 2011
Hanchuan Peng Aug 10, 2011
Thomas Templier Aug 10, 2011
Hanchuan Peng Aug 10, 2011
Thomas Templier Aug 10, 2011
Hanchuan Peng Aug 10, 2011
Thomas Templier Aug 10, 2011
Hanchuan Peng Aug 10, 2011
Thomas Templier Aug 10, 2011
Hanchuan Peng Aug 10, 2011
Thomas Templier Aug 11, 2011