[vtkusers] vtk & MacOSX/Darwin: ld problem

Adrian Umpleby a.umpleby at imperial.ac.uk
Tue May 20 07:07:29 EDT 2003


>> is it possible that your binaries are still looking for things in 
>> /Users/adrian/VTK-Dev/VTKBuild-4.2.1/ ?
>
> I believe that I ran into a similar problem a while ago. VTK was 
> working after I installed only due to the fact that my build directory 
> was still kept around. Once I removed my build directory I ran into 
> similar problems. When VTK builds, it seems to install the build path 
> into the library rather than the install path. To check, use "otool 
> -L" with the particular library. If there are references to paths 
> outside /usr/local, then that is where the problem is. Here's an old 
> message on the topic:
> ...

Yeeuurgh!

You're quite right - that's not good at all...

OK, thanks to Glen for the script - did the trick fine for me (don't 
know why it only did the first entry for Marc?)

BTW, just setting DYLD_LIBRARY_PATH (to location of libvtk*.dylib 
files) should be enough to get it going.

> OK, thanks for all. I will try to go ahead next week.

OK, let us know how you get on Marc...

Bye!

Adrian




More information about the vtkusers mailing list