[vtkusers] Python and cvs update

Berk Geveci berk.geveci at kitware.com
Mon May 27 14:59:35 EDT 2002


libpython has Py_Main() (probably some other stuff as well). The problem
is that
1. vtkpython is not linked against libpython
2. it looks like something has dependency on some other library 
(the openpty and forkpty symbols)

On Mon, 2002-05-27 at 14:37, David Gobbi wrote:
> On Mon, 27 May 2002, David Gobbi wrote:
> 
> > On Mon, 27 May 2002, Prabhu Ramachandran wrote:
> >
> > > I guess that you haven't set the PYTHON_LIBRARY variable in your
> > > CMakeCache.txt to point to your Python library.  Just set it, run
> > > cmake followed by make and your problem will disappear.  My setting
> > > looks like this:
> > >
> > > PYTHON_LIBRARY:FILEPATH=/usr/lib/libpython2.1.so
> >
> > This is very strange, I have python 1.5.2, python 2.1, and python 2.2
> > installed under Linux and I have never seen a 'libpythonXX.so' before.
> > I've only ever seen a python21.lib under Windows.
> 
> Okay, I did find a libpython2.1.a in the python 'config' directory:
> /usr/lib/python2.1/config/libpython2.1.a
> but I'm still not sure what it's for since I've never used it when
> hand-crafting python modules.  And back in the VTK 3.2 days, the
> VTK/Python modules didn't use it either.
> 
>  - David
> 
> _______________________________________________
> 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





More information about the vtkusers mailing list