Giter VIP home page Giter VIP logo

Comments (12)

sumitrathore1313 avatar sumitrathore1313 commented on August 18, 2024 4

install this
sudo apt-get install libsndfile1

from python-soundfile.

mgeier avatar mgeier commented on August 18, 2024

Did you use homebrew to install libsndfile?
Can you please show the contents of /usr/local/Cellar/libsndfile/1.0.25/lib/?

I don't know how this works on OSX, but on Linux, you can add additional search paths for libraries to /etc/ld.so.conf and afterwards run the command ldconfig as root (or with sudo).
Probably there is something similar for OSX?

Alternatively, as a quick work-around, you can try to copy (or symlink) the libsndfile.dylib to /usr/local/lib/, then it should be found automatically.

from python-soundfile.

satra avatar satra commented on August 18, 2024

i did use homebrew.

$ ls /usr/local/Cellar/libsndfile/1.0.25/lib/
libsndfile.1.dylib  libsndfile.a        libsndfile.dylib    pkgconfig

i thought homebrew would take care of dynamic libraries in the path. i'll try it more explicitly.

from python-soundfile.

mgeier avatar mgeier commented on August 18, 2024

Yes, as far as I understand, homebrew should automatically create a symbolic link to libsndfile.dylib in /usr/local/lib/.
Can you please check if it's there?

from python-soundfile.

satra avatar satra commented on August 18, 2024

it's there. it might be one of those weird situations, where i might need to log out and log back in for brew's changes to have an effect.

$ ls -al /usr/local/lib/libsndfile.*
lrwxr-xr-x  1 satra  admin  50 Mar 15 11:48 /usr/local/lib/libsndfile.1.dylib -> ../Cellar/libsndfile/1.0.25/lib/libsndfile.1.dylib
lrwxr-xr-x  1 satra  admin  44 Mar 15 11:48 /usr/local/lib/libsndfile.a -> ../Cellar/libsndfile/1.0.25/lib/libsndfile.a
lrwxr-xr-x  1 satra  admin  48 Mar 15 11:48 /usr/local/lib/libsndfile.dylib -> ../Cellar/libsndfile/1.0.25/lib/libsndfile.dylib

from python-soundfile.

bastibe avatar bastibe commented on August 18, 2024

I've seen a few weird issues with library names lately. Try renaming (or linking) the dylib to sndfile.dylib (no lib). I'm not sure if this changes anything, but it might be worth a shot.

from python-soundfile.

choldgraf avatar choldgraf commented on August 18, 2024

Hey all - I had the same issue. Tried symlinking libsndfile.dylib from the homebrew directory to /usr/local/lib/ and it worked.

edit: kind of off topic, but thanks to the creators/maintainers for this package...really useful!

from python-soundfile.

mgeier avatar mgeier commented on August 18, 2024

@satra and @choldgraf: did you try our latest 0.7.0 release?
Now we're shipping our own libsndfile.dylib, so the problem is hopefully gone!?!

from python-soundfile.

choldgraf avatar choldgraf commented on August 18, 2024

Is it on pip? I can unlink my own libsndfile and upgrade to see if that works if it'd be useful.

from python-soundfile.

mgeier avatar mgeier commented on August 18, 2024

Yes and yes, please!

from python-soundfile.

choldgraf avatar choldgraf commented on August 18, 2024

Just tried it. Unlinking the sound library breaks pysoundfile v.6, and upgrading to v.7 fixes the issue, so I think we're good on this issue!

from python-soundfile.

mgeier avatar mgeier commented on August 18, 2024

Great, thanks a lot!
I'm closing this ...

from python-soundfile.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.