[vtkusers] Installed dylibs on OS X

Drew McCormack cormack at chem.vu.nl
Thu Mar 20 02:37:42 EST 2003


Does the "-install_name" option get used in the VTK linking? Maybe that 
is the problem.
You may be able to fix the libraries without recompiling by using the 
command "install_name_tool". "man install_name_tool" will tell you more.

Drew

On Wednesday, March 19, 2003, at 08:47  pm, Chris Scharver wrote:

> Hello,
>
> I noticed something strange once I installed dynamic VTK libraries 
> into /usr/local on OS X. They keep referencing the original build 
> locations, effectively breaking executables once the VTK build 
> directories are removed.
>
> $ otool -L /usr/local/lib/vtk/libvtkCommon.dylib
> /usr/local/lib/vtk/libvtkCommon.dylib:
>         /usr/tmp/code/vtk-build/bin/libvtkCommon.dylib (compatibility 
> version 0.0.0, current version 0.0.0)
>         /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit 
> (compatibility version 45.0.0, current version 663.6.0)
>         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, 
> current version 63.0.0)
>
> Maybe it's something with the way that the dynamic libraries are 
> generated. I haven't dealt with the guts of OS X linking in detail, so 
> I'm not sure what the best workaround may be. It seems like a dynamic 
> library should reference its install path rather than its build path. 
> Has anyone else seen this?
>
> Chris
> --
> Chris Scharver
> Electronic Visualization Laboratory
> The University of Illinois at Chicago
> Ph: 312-996-3002   FAX: 312-413-7585
> <http://www.evl.uic.edu/scharver/>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: 
> <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
========================================
  Dr. Drew McCormack (Kmr. R153)
  Afd. Theoretische Chemie
  Faculteit Exacte Wetenschappen
  Vrije Universiteit Amsterdam
  De Boelelaan 1083
  1081 HV Amsterdam
  The Netherlands

  Email		cormack at chem.vu.nl
  Telephone  	+31 20 44 47623
  Mobile		+31 6 483 21307
  Fax   		+31 20 44 47629




More information about the vtkusers mailing list