libfftw.so errors in ubuntu 9.10

Hello all.
I dusted off an old workstation this morning and installed ubuntu 9.04 64 bit. I also installed panda3d, but not the recommended one, the latest snapshot. I had some glibc errors when calling the DirectStart module, but after upgrading those errors went away.

Now I have the following when trying to run some of the samples:

> ppython Tut-Asteroids.py 
DirectStart: Starting the game.
Traceback (most recent call last):
  File "Tut-Asteroids.py", line 13, in <module>
    import direct.directbase.DirectStart
  File "/usr/share/panda3d/direct/directbase/DirectStart.py", line 3, in <module>
    from direct.showbase import ShowBase
  File "/usr/share/panda3d/direct/showbase/ShowBase.py", line 10, in <module>
    from pandac.PandaModules import *
  File "/usr/share/panda3d/pandac/PandaModules.py", line 8, in <module>
    from libpandaModules import *
  File "/usr/share/panda3d/pandac/libpandaModules.py", line 2, in <module>
    Dtool_PreloadDLL("libpanda")
  File "/usr/share/panda3d/pandac/extension_native_helpers.py", line 79, in Dtool_PreloadDLL
    imp.load_dynamic(module, pathname)
ImportError: libfftw.so.2: cannot open shared object file: No such file or directory

I don’t really understand what it’s for, but there seems to be a version there:

>ls /usr/lib/ | grep libfftw
libfftw3f.so.3
libfftw3f.so.3.2.3
libfftw3f_threads.so.3
libfftw3f_threads.so.3.2.3
libfftw3l.so.3
libfftw3l.so.3.2.3
libfftw3l_threads.so.3
libfftw3l_threads.so.3.2.3
libfftw3.so.3
libfftw3.so.3.2.3
libfftw3_threads.so.3
libfftw3_threads.so.3.2.3

Any pointers, anyone?
Thank you.

That’s FFTW 3. Panda uses FFTW 2. Either install this package, or rebuild Panda not to depend on fftw.

David