Chris Cannam wrote:
> On Tuesday 23 May 2006 11:49, Stéphane Letz wrote:
>> Why do you do a static with libjack? I was thinking jack was
>> supposed to always be used with a shared lib version...
>
> Well, what is the proper solution when distributing a binary?
>
> 1. Link libjack statically
> 2. Omit JACK support
>
> Just linking dynamically isn't an option. I want to fall back on
> another output if JACK is absent, not fail to start at all.
>
> I suppose there may be
>
> 3. dlopen libjack from within the program and continue if it fails
>
> I haven't tried that; is it a reasonable option?
It would require to dlsym() every libjack symbol. A better option seems
to be:
4. dlopen() your jack backend, itself beeing dynamically linked against
libjack.
-a.
Received on Tue May 23 20:15:08 2006
This archive was generated by hypermail 2.1.8 : Tue May 23 2006 - 20:15:08 EEST