The way I have overcome the positioning of libaubio library is to use the app/server/native/lib folder in which the library for libaubio-5.so is placed when you choose to build it from the unix_prebuild.sh (now renamed linux_prebuild.sh). I install libaubio5 as a package, use dpkg -L libaubio5
to show the library position and put a soft link in the native/lib to that file. NB I have to change the name too, as the linux package installs libaubio.so.5 and the native library expects libaubio-5.so
For anyone attempting to build on Linux at the latest commit Update linux-prebuild.sh
one or two pointers. You need two further erlang packages, erlang-dev and erlang-tools as well as the existing erlang-base
(erlang-dev satisfies the include erl_nif.h problems referred to further up this thread, and erlang-base enables the new build for the erlang tree using the erl -make
command in linux-prebuild.sh).
I have successfull builds for Ubuntu 20.04 and Raspberry Pi OS 64bit version using the present linux-prebuild.sh script.
Sadly there appears to be a problem which I have not yet resolved in compiling the sp_midi package on Raspberry PI 32 bit OS which I have not yet resolved. It builds OK but gives an error when in use.
/usr/lib/arm-linux-gnueabihf/libsp_midi.so: undefined symbol: __atomic_fetch_xor_8
In summary, as Sam says, expect difficulties if you attempt building other than at release points. However, if you can get there it gives a nice buzz