< Back to IRCAM Forum

OmAudiolib error in Ubuntu 19.10

Hello,

After a clean install of ubuntu 19.10 I got the following error trying OM 6.16

ERROR: Illegal instruction(4) [code 0] at 7FAA29CE4E10
Unknown foreign code in module “/home/rrrrrrrrr/Downloads/OM_6.16/resources/lib/linux/OMAudioLib.so” [ #x7FAA29BCE000 ]
rax 7FAA2A0355C0 ; rbx 7FAA2C145068 ; rcx 7FAA2C0008D2 ; rdx 7FAA2A29DE58
rsp 7FAA3B06BAA8 ; rbp 7FAA2C145070 ; rdi 7FAA2C145088 ; rsi 7FAA2C1B2FF0
r8 7FAA2C1B2FC0 ; r9 40F04F4E69 ; r10 7FAA29BD0CCC ; r11 7FAA29A8B1C0
r12 7FAA2C145088 ; r13 7FAA34000B60 ; r14 4000049839 ; r15 4111008CA4

Also I’m not able to compile it from git: missing alsa and libcurl packages.

Please, provide a solution. Thanks in advance.

best regards,
rc

Hi rc. Please provide more info, esp. which release of OM, as well as the output of:

$ lsb_release -a

Also I’m not able to compile it from git: missing alsa and libcurl packages.

Take it you’re referring to OMAudioLib. That would be expected, you’ll need the dev-versions of the deps to compile OMAudioLib.so yourself.

Hi,

Distributor ID: Ubuntu
Description: Ubuntu 19.10
Release: 19.10
Codename: eoan

[openmusic6-6.16-1.x86_64.rpm]
(https://github.com/openmusic-project/openmusic/releases/download/v6.16/openmusic6-6.16-1.x86_64.rpm)
downloaded from:
https://github.com/openmusic-project/openmusic/releases/tag/v6.16

Yes, I tried to compile omaudiolib.

which of these should I install for libcurl?

libcurl3-gnutls libcurl4-gnutls-dev libcurl-ocaml-dev
libcurl3-nss libcurl4-nss-dev libcurlpp0
libcurl4 libcurl4-openssl-dev libcurlpp-dev
libcurl4-doc libcurl-ocaml

and for alsa?

alsa-base alsaplayer-daemon alsaplayer-xosd
alsa-firmware-loaders alsaplayer-gtk alsa-source
alsamixergui alsaplayer-jack alsa-tools
alsa-oss alsaplayer-nas alsa-tools-gui
alsaplayer-alsa alsaplayer-oss alsa-utils
alsaplayer-common alsaplayer-text

best regards,
rc

Dear RC,

First of all, why do you install an rpm under Ubuntu. You should use instead the .deb installer. try this before compiling omaudiolib

best
K
PS: For the dependencies to compile omaudiolib, i believe you will need:
libcurl4-gnutls-dev and libasound2.

Sorry, copy paste error. Before, I downloaded the [OM_6.16.tar.bz2]
(https://github.com/openmusic-project/openmusic/releases/download/v6.16/OM_6.16.tar.bz2)

Now, after installing the suggested .deb I got this error:

ERROR: Illegal instruction(4) [code 0] at 7FEC42560E10
Unknown foreign code in module “/usr/share/openmusic/resources/lib/linux/OMAudioLib.so” [ #x7FEC4244A000 ]
rax 7FEC428B15C0 ; rbx 7FEC44094C58 ; rcx 7FEC440008D2 ; rdx 7FEC42B19E58
rsp 7FEC538D4AA8 ; rbp 7FEC44094C60 ; rdi 7FEC44094C78 ; rsi 7FEC441585A0
r8 7FEC44158570 ; r9 40F04F4E69 ; r10 7FEC4244CCCC ; r11 7FEC422D91C0
r12 7FEC44094C78 ; r13 7FEC4C000B60 ; r14 4000049839 ; r15 4111008CA4

best regards,
rc

Ok ,

this seems to be the same illegal instruction error due to your processor (is it a dual , ie. an old 64bit processor ?).

Now please do try to substitute this lib:
/usr/share/openmusic/resources/lib/linux/OMAudioLib.so

with the one i am attaching to see if it works (in the zipped archive)OMAudioLib.so.zip (1.2 MB) .
If not, will give you further instructions