Re: Bug#536061: amsynth: failed to initialise JACK... aborting
On Fri, Jul 10, 2009 at 10:00:54AM +0100, Daniel James wrote:
>>> # ldconfig -p | grep jack
>>> libjackserver.so.0 (libc6,x86-64) => /usr/lib/libjackserver.so.0
>>> libjack.so.0 (libc6,x86-64) => /usr/lib/libjack.so.0
>>> libjack.so.0 (libc6) => /usr/lib32/libjack.so.0
>>> libjack.so (libc6) => /usr/lib32/libjack.so
>> this looks pretty wrong. you cannot mix 32bit and 64bit libraries.
I hope dlopen() picks up the right library. If not, that's probably the
reason for this bug.
However, I wrote a patch which removes dlopen() and just links against
libjack, so things should always work.
I've sent it upstream. Hope is to have a new upstream release this
week-end, and we're then upgrading the Debian package.
>> to me this looks like a local system configuration error.
[jack2]
> Cannot connect ports owned by inactive clients: "amSynth" is not active
This is simple to fix. The process callback return value was ignored in
jack1, so everybody returned 0. In jack2, returning 0 means "problems",
so you just return 1 (true) and everything is fine.
The patch I sent contains this fix, it looks like this:
int
JackOutput::process (jack_nframes_t nframes)
[..]
- return 0;
+ return 1;
HTH
--
mail: adi@thur.de http://adi.thur.de PGP/GPG: key via keyserver
Wer dauernd auf die Pauke haut geht eines Tages flöten
Reply to: