python 2.5 install from source problem

Discussion in 'Python' started by Fabian Braennstroem, Dec 1, 2006.

  1. Hi,

    I just tried to install python 2.5 from source on my
    ScienticLinux (Redhat Clone) machine. It seems to work
    without any problem, at least I am able to run some of my
    old scripts. I installed it with './configure
    --prefix=/opt/python make make altinstall', but now for a
    'vtk' installation which needs the python libraries I am not
    able to find a file like 'libpython2.5.so.*', which I think
    should be produced (at least at my office's machine (redhat)
    it is there). I just can find a 'libpython2.5.a' file ...

    Do I do something wrong?

    Greetings!
    Fabian
     
    Fabian Braennstroem, Dec 1, 2006
    #1
    1. Advertising

  2. Fabian Braennstroem schrieb:
    > I just tried to install python 2.5 from source on my
    > ScienticLinux (Redhat Clone) machine. It seems to work
    > without any problem, at least I am able to run some of my
    > old scripts. I installed it with './configure
    > --prefix=/opt/python make make altinstall', but now for a
    > 'vtk' installation which needs the python libraries I am not
    > able to find a file like 'libpython2.5.so.*', which I think
    > should be produced (at least at my office's machine (redhat)
    > it is there). I just can find a 'libpython2.5.a' file ...
    >
    > Do I do something wrong?


    I'd say it is a bug in vtk that it requires libpython2.5.so.*.
    However, to work-around, you can configure Python with
    --enable-shared. Make sure to set LD_LIBRARY_PATH or LD_RUN_PATH
    appropriately.

    Regards,
    Martin
     
    =?ISO-8859-15?Q?=22Martin_v=2E_L=F6wis=22?=, Dec 2, 2006
    #2
    1. Advertising

  3. Hi Martin,

    * Martin v. Löwis <> wrote:
    > Fabian Braennstroem schrieb:
    >> I just tried to install python 2.5 from source on my
    >> ScienticLinux (Redhat Clone) machine. It seems to work
    >> without any problem, at least I am able to run some of my
    >> old scripts. I installed it with './configure
    >> --prefix=/opt/python make make altinstall', but now for a
    >> 'vtk' installation which needs the python libraries I am not
    >> able to find a file like 'libpython2.5.so.*', which I think
    >> should be produced (at least at my office's machine (redhat)
    >> it is there). I just can find a 'libpython2.5.a' file ...
    >>
    >> Do I do something wrong?

    >
    > I'd say it is a bug in vtk that it requires libpython2.5.so.*.
    > However, to work-around, you can configure Python with
    > --enable-shared. Make sure to set LD_LIBRARY_PATH or LD_RUN_PATH
    > appropriately.


    Thanks a lot!


    Greetings!
    Fabian
     
    Fabian Braennstroem, Dec 2, 2006
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Nils Ruettershoff
    Replies:
    0
    Views:
    511
    Nils Ruettershoff
    Jul 22, 2010
  2. Nils Ruettershoff
    Replies:
    0
    Views:
    536
    Nils Ruettershoff
    Jul 22, 2010
  3. Travis Griggs
    Replies:
    0
    Views:
    112
    Travis Griggs
    Nov 8, 2013
  4. Ned Deily
    Replies:
    0
    Views:
    116
    Ned Deily
    Nov 8, 2013
  5. Chris Angelico
    Replies:
    0
    Views:
    99
    Chris Angelico
    Nov 8, 2013
Loading...

Share This Page