Re: getting jack 0.107 working with cclients compiled against earlier versions

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

 



On Tue, 2007-09-25 at 01:47 -0700, Robert Persson wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I have just built jack 0.107 from svn. I had to install it over the
> jack installed from the ubuntu repository, which made me a bit
> uncomfortable, but it got Ingen working, and it should get the latest
> ardour from svn working with its midi editor, so I could live with
> that. It broke qjackctl, but that gave me the opportunity to build a
> newer version with jack midi support, so I could live with that too.
> However it seems to have broken a whole lot of other jack apps, such
> as hydrogen and alsaplayer, and I definitely can't live with that.
> 
> Is there a way to get 0.107 working with clients compiled against
> older versions of jack?
> 
> Failing that, would I be able to get all these apps to work again
> against the new version of jack if  I simply build my own packages
> from source debs, or would I run into further trouble?

What JACK package did you have installed? Older ones change the libjack
name to libjack-0.100.0, which all your packaged JACK programs would be
linked against, so the packaged JACK clients and the clients that you've
built yourself will use different libraries (which is not good, since
they may use different binary protocols to talk to jackd).

The way I do this is to build JACK from source (with --prefix=/usr),
install it over the packaged version, remove all files that start
with /usr/lib/libjack-0.100.0* and then
link /usr/lib/libjack-0.100.0.so.0 to /usr/lib/libjack.so. This way all
JACK clients will link to the same library, and as long as they use the
same library API that should work (although the library API changes
sometimes too).

More recent JACK packages for Debian (and I think Ubuntu) don't change
the library name, so you shouldn't have to do those steps in the future.

There are probably cleaner ways of doing this using APT magic, but I
haven't had any problems with this approach so far.


--ll

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/mailman/listinfo.cgi/linux-audio-user

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux