fluid-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [fluid-dev] Proposal: FluidSynth tester program


From: S. Christian Collins
Subject: Re: [fluid-dev] Proposal: FluidSynth tester program
Date: Mon, 30 Jul 2012 12:41:44 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0

On 07/28/2012 11:59 PM, David Henningsson wrote:
4) Run
sudo make install
...to install the new version. Once you have finished testing, run
sudo make uninstall
...to revert to the version that comes with Ubuntu.
On my system (Kubuntu 64-bit), this resulted in version 1.1.6 of the FluidSynth binary using the 1.1.5 libraries.  Removing the Ubuntu FluidSynth packages and then installing the 1.1.6 RC results in the 1.1.6 binary being unable to find its libraries altogether.  I'm guessing this only affects 64-bit users (looks like a multiarch issue).  Disclaimer: I have no idea how many bad things I did to make this work, but here is what I did to get FluidSynth 1.1.6 RC working on my system:
  1. Uninstall Ubuntu's FluidSynth packages while ignoring dependencies (so that it won't try to uninstall half of my audio software as well):

    sudo dpkg -r --force-depends fluidsynth libfluidsynth-dev libfluidsynth1

    Note: this will cause your package manager to report broken packages, so it is a good idea to do this only temporarily while testing the new RC.  The Ubuntu packages can be properly reinstalled later by issuing the command:

    sudo apt-get install fluidsynth libfluidsynth-dev libfluidsynth1

  2. Build the FluidSynth RC.  From the FluidSynth source directory:

    mkdir build
    cd build
    cmake -DCMAKE_INSTALL_PREFIX=/usr ..
    make
    sudo make install


  3. Since I am running a 64-bit OS, the install process puts the FluidSynth libraries in /usr/lib64, but they need to be in /usr/lib/x86_64-linux-gnu instead.  I just copied them there using Dolphin (file manager) as root.

FluidSynth 1.1.6 and Qsynth, etc. should now work and access the correct library version.  There's probably a better, more sane way to do what I just did in the steps above, but this is the only way I've been able to figure it out so far.  I also had a problem with OSS support causing make to abort, so I edited the CMakeLists.txt file in the source directory by changing line 328 from:

set ( OSS_SUPPORT ${OSS_FOUND} )

...to:

set ( OSS_SUPPORT 0 )

...and then I was able to compile.

After testing, you will need to manually remove the library files you copied to /usr/lib/x86_64-linux-gnu and "sudo make uninstall" from the FluidSynth build directory should remove the rest.  I say "should" because it actually leaves the /usr/lib64/libfluidsynth.so and /usr/lib64/libfluidsynth.so.1 symlinks behind, so you will have to remove those manually as well.

-~Chris


reply via email to

[Prev in Thread] Current Thread [Next in Thread]