[SciPy-user] trouble installing audiolab

Robert Felty robfelty at gmail.com
Mon Jul 28 14:27:20 EDT 2008


I am having trouble installing the audiolab scipy toolkit. I have scipy 
installed just fine, but I am getting a library not found error when I try to 
install audiolab
This is the error I get
sudo python setup.py install
sndfile_info:
  libraries libsndfile.so.1.0.17 not found in /usr/lib64
  libraries libsndfile.so.1.0.17 not found in /usr/local/lib
  libraries libsndfile.so.1.0.17 not found in /usr/lib
Traceback (most recent call last):
  File "setup.py", line 221, in <module>
    'Topic :: Scientific/Engineering']
  File "/usr/lib64/python2.5/site-packages/numpy/distutils/core.py", line 142, 
in setup
    config = configuration()
  File "setup.py", line 144, in configuration
    sf_config   = sf_info.get_info(2)
  File "/usr/lib64/python2.5/site-packages/numpy/distutils/system_info.py", 
line 399, in get_info
    self.calc_info()
  File "setup.py", line 96, in calc_info
    raise SndfileNotFoundError("sndfile library not found")
__main__.SndfileNotFoundError: sndfile library not found

I am running on linux - Fedora 7 x86_64, with Pyton 2.5. I know that I have 
the libsndfile installed:
the 64bit version is here:
ls -l /usr/lib64/libsndfile*
-rw-r--r-- 1 root root 610500 2007-09-20 07:33 /usr/lib64/libsndfile.a
lrwxrwxrwx 1 root root     20 2008-07-28 12:45 /usr/lib64/libsndfile.so -> 
libsndfile.so.1.0.17
lrwxrwxrwx 1 root root     20 2007-09-27 14:01 /usr/lib64/libsndfile.so.1 -> 
libsndfile.so.1.0.17
-rwxr-xr-x 1 root root 328832 2007-09-20 07:33 /usr/lib64/libsndfile.so.1.0.17
. 

and the 32bit here:
ls -l /usr/lib/libsndfile*
-rw-r--r-- 1 root root 501314 2007-09-20 07:31 /usr/lib/libsndfile.a
lrwxrwxrwx 1 root root     20 2008-07-28 12:45 /usr/lib/libsndfile.so -> 
libsndfile.so.1.0.17
lrwxrwxrwx 1 root root     20 2007-09-27 14:01 /usr/lib/libsndfile.so.1 -> 
libsndfile.so.1.0.17
-rwxr-xr-x 1 root root 369612 2007-09-20 07:31 /usr/lib/libsndfile.so.1.0.17

I changed the default value of "libname" in the setup.py script from "sndfile" 
to "libsndfile" (and also tried several other variants, 
like "libsndfile.so", "libsndfile.so.1")

What I am missing here? Any help would be much appreciated.

Rob
--
Robert Felty
http://robfelty.com

"Verbing weirds language." -- Calvin (of Calvin and Hobbes)




More information about the SciPy-User mailing list