sinneb / pyfluidsynth

Automatically exported from code.google.com/p/pyfluidsynth
1 stars 0 forks source link

doesn't load libfluidsynth #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. port install fluidsynth
2. pip install pyfluidsynth
3. python -m fluidsynth.fluidsynth

What is the expected output? What do you see instead?
want: load module success
see: OSError: dlopen(libfluidsynth.so.1, 6): image not found

What version of the product are you using? On what operating system?
OSX 10.7.5
python 2.7.1

Please provide any additional information below.
i tried DYLD_LIBRARY_PATH=/opt/local/lib but it only has
 libfluidsynth.1.dylib
 libfluidsynth.dylib
 libfluidsynth.la

is the error in the name in the code of pyfluidsynth, or in the names of my 
build of fluidsynth? maybe we should try multiple names before raising the 
exception?

Original issue reported on code.google.com by samboosa...@gmail.com on 27 Jan 2013 at 4:50

GoogleCodeExporter commented 9 years ago
# user solution
cd /opt/local/lib; sudo ln -s libfluidsynth.dylib libfluidsynth.so.1
DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/opt/local/lib
python -m fluidsynth.fluidsynth

Original comment by samboosa...@gmail.com on 27 Jan 2013 at 7:11