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


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

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]
reply reply with quote
Threaded View
TitleAuthorDate
Overwrite libtiff in Matlab to run IO toolboxFernando AmatJul 16, 2010
      RE: Overwrite libtiff in Matlab to run IO toolboxHanchuan PengJul 16, 2010
            RE: Overwrite libtiff in Matlab to run IO toolboxJohn RobertsMay 24, 2012
            RE: Overwrite libtiff in Matlab to run IO toolboxThomas TemplierAug 9, 2011
                  RE: Overwrite libtiff in Matlab to run IO toolboxHanchuan PengAug 9, 2011
                        RE: Overwrite libtiff in Matlab to run IO toolboxThomas TemplierAug 9, 2011
                              RE: Overwrite libtiff in Matlab to run IO toolboxThomas TemplierAug 10, 2011
                                    RE: Overwrite libtiff in Matlab to run IO toolboxHanchuan PengAug 10, 2011
                                          RE: Overwrite libtiff in Matlab to run IO toolboxThomas TemplierAug 10, 2011
                                                RE: Overwrite libtiff in Matlab to run IO toolboxHanchuan PengAug 10, 2011
                                                      RE: Overwrite libtiff in Matlab to run IO toolboxThomas TemplierAug 10, 2011
                                                            RE: Overwrite libtiff in Matlab to run IO toolboxHanchuan PengAug 10, 2011
                                                                  RE: Overwrite libtiff in Matlab to run IO toolboxThomas TemplierAug 10, 2011
                                                                        RE: Overwrite libtiff in Matlab to run IO toolboxHanchuan PengAug 10, 2011
                                                                              RE: Overwrite libtiff in Matlab to run IO toolboxThomas TemplierAug 10, 2011
                                                                                    ImageJ plugin to load V3D's Raw formatHanchuan PengAug 10, 2011
                                                                                          RE: ImageJ plugin to load V3D's Raw formatThomas TemplierAug 10, 2011
                                                                                                RE: ImageJ plugin to load V3D's Raw formatHanchuan PengAug 10, 2011
                                                                                                      RE: ImageJ plugin to load V3D's Raw formatThomas TemplierAug 11, 2011