Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation fails on Ubuntu Oneiric #1

Open
auphonic opened this issue Feb 11, 2012 · 1 comment
Open

Installation fails on Ubuntu Oneiric #1

auphonic opened this issue Feb 11, 2012 · 1 comment

Comments

@auphonic
Copy link

The installation of scikits.samplerate via pip on later ubuntu systems (I guess also debian ?) fails, because the libsamplerate0 package binaries are now at a different location.

Your are checking them in /usr/lib and /usr/local/lib, but now they are in /usr/lib/i386-linux-gnu/ or /usr/lib/x86_64-linux-gnu/ .

See the package description for i386:
http://packages.ubuntu.com/de/oneiric/i386/libsamplerate0/filelist
and for amd64:
http://packages.ubuntu.com/de/oneiric/amd64/libsamplerate0/filelist

@ThomasLecocq
Copy link
Collaborator

download the tar.gz, then

tar -xvf scikits.samplerate-0.3.3.tar.gz
cd scikits.samplerate-0.3.3

then edit the site.cfg example file and insert the following lines:

[samplerate]
library_dirs=/usr/lib/x86_64-linux-gnu
include_dirs=/usr/include

To know where the SRC library is on you machine:

sudo dpkg -L libsamplerate0
sudo dpkg -L libsamplerate0-dev

then, build and install:

python setup.py build
python setup.py install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant