[vtkusers] compiling vtk
Prabhu Ramachandran
prabhu at aero.iitm.ernet.in
Fri Oct 31 03:36:07 EST 2003
>>>>> "Charles" == Charles James Leonardo Quarra Cappiello <charsquarra at hotmail.com> writes:
Charles> make (three hours later...) make install ldconfig
Charles> all the vtklibraries are correctly linked by ldconfig;
Charles> however, the vtk-python binary rpm reports the following
Charles> unsatisfied dependencies
Charles> # rpm -i vtk-python-4.3.0-1.cvs20031022.i386.rpm
Charles> error: Failed dependencies:
Charles> libvtkCommon.so is needed by
RPM's do not see dependencies by looking at what libraries are on the
system. They do so by looking at what other rpms you have installed.
So once you did a make install; ldconfig you installed VTK outside of
RPM's world view and therefore it complains. However since you are
building VTK from sources anyway there is no need to install the
vtk-python rpm. Do the following:
make
make install
ldconfig
This might not be enough and you might need to add a line in
/etc/ld.so.conf
/usr/local/lib/vtk
and then rerun ldconfig. Once that is done do this:
cd Wrapping/Python
python setup.py install --prefix=/usr/local
You might also want to read Wrapping/Python/README.txt
If all goes well you should be able to use vtk-python without
installing the rpms.
cheers,
prabhu
More information about the vtkusers
mailing list