FS#11931 - python-scipy must depend on fftw

Attached to Project: Community Packages
Opened by Artyom (urandom) - Wednesday, 29 October 2008, 19:05 GMT
Last edited by Roman Kyrylych (Romashka) - Sunday, 11 January 2009, 09:44 GMT
Task Type Bug Report
Category
Status Closed
Assigned To Douglas Soares de Andrade (dsa)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Steps to reproduce:
Install python-scipy
Run python
Do 'import scipy.fftpack'
Result:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.5/site-packages/scipy/fftpack/__init__.py", line 10, in <module>
from basic import *
File "/usr/lib/python2.5/site-packages/scipy/fftpack/basic.py", line 13, in <module>
import _fftpack as fftpack
ImportError: libfftw3.so.3: cannot open shared object file: No such file or directory
This task depends upon

Closed by  Roman Kyrylych (Romashka)
Sunday, 11 January 2009, 09:44 GMT
Reason for closing:  Fixed
Comment by Christos Gkekas (chggr) - Saturday, 08 November 2008, 09:57 GMT
I cannot reproduce this error.
A patch was released yesterday (python-scipy-0.7.0svn-1)
Upgrade your system and then try to find out if this problem persists.
Comment by Artyom (urandom) - Friday, 14 November 2008, 22:28 GMT
I can't upgrade my home system, because too many python libraries for python still not rebuilded for x86_64. But ldd output confirms this bug :)

% ldd /usr/lib/python2.5/site-packages/scipy/fftpack/_fftpack.so
linux-vdso.so.1 => (0x00007fff8cdfe000)
libfftw3.so.3 => /usr/lib/libfftw3.so.3 (0x00007f0884741000)
libpython2.5.so.1.0 => not found
libgfortran.so.3 => /usr/lib/libgfortran.so.3 (0x00007f0884466000)
libm.so.6 => /lib/libm.so.6 (0x00007f08841e2000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f0883fcb000)
libc.so.6 => /lib/libc.so.6 (0x00007f0883c77000)
/lib/ld-linux-x86-64.so.2 (0x00007f0884c2f000)

Also, i686 version of this library don't linked with fftw.
% ldd /usr/lib/python2.6/site-packages/scipy/fftpack/_fftpack.so
linux-gate.so.1 => (0xb7f7e000)
libpython2.6.so.1.0 => /usr/lib/libpython2.6.so.1.0 (0xb7dd8000)
libgfortran.so.3 => /usr/lib/libgfortran.so.3 (0xb7d27000)
libm.so.6 => /lib/libm.so.6 (0xb7d01000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb7cf4000)
libc.so.6 => /lib/libc.so.6 (0xb7bb1000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7b99000)
libdl.so.2 => /lib/libdl.so.2 (0xb7b95000)
libutil.so.1 => /lib/libutil.so.1 (0xb7b91000)
/lib/ld-linux.so.2 (0xb7f7f000)
Comment by Artyom (urandom) - Sunday, 16 November 2008, 18:49 GMT
I've upgraded to scipy 0.7 and looks like fftw no more needed. I think this ticket can be closed.

Loading...