fluid-dev
[Top][All Lists]
Advanced

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

Re: [fluid-dev] Fluidsynth Android binaries - fluidsynth-2.2.4-android24


From: Tom M.
Subject: Re: [fluid-dev] Fluidsynth Android binaries - fluidsynth-2.2.4-android24.zip has changed a lot compared to fluidsynth-2.2.0-android.zip
Date: Sat, 18 Dec 2021 00:08:45 +0100

I assume you're at least using Android API Level 24.

In this case, yes, it could be due to missing .so libs. The
precompiled binaries from 2.2.0 basically included many libraries from
the NDK. I considered this bad practice, as I assumed that the NDK
will be available anyway in the target environment and this in turn
would conflict with our provided NDK libs. Esp when different NDK
versions are involved. Since I restructured our Android CI Build
Pipeline after 2.2.0, I changed this and only included the libs that
were created when cross compiling fluidsynth.

Because fluidsynth depends on the NDK r21 (since it was compiled
against it), I suggest you make this or a newer version available in
your target environment. To my knowledge, Android Studio would
actually ensure that the NDK is present. But you should be able do
this also manually, e.g. by setting LD_LIBRARY_PATH correctly.

You could also figure out which libraries are missing by getting a
shell via the Android emulator or somehow, and use e.g.

ldd libfluidsynth.so

to see what .so files fluidsynth depends on. E.g. you should see that
you'll need libc++_shared.so from the NDK. And then you can
cherry-pick only the required NDK libs for your custom setup.

Tom



reply via email to

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