By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,908 Members | 1,838 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,908 IT Pros & Developers. It's quick & easy.

python 2.5 install from source problem

P: n/a
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

Dec 1 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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
Dec 2 '06 #2

P: n/a
Hi Martin,

* Martin v. Lwis <ma****@v.loewis.dewrote:
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

Dec 2 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.