florindumitru / react-native-sip

SIP module for React Native
GNU General Public License v3.0
45 stars 50 forks source link

Could not configure 'libc6:i386'. #13

Open dariomalfatti-centropaghe opened 3 years ago

dariomalfatti-centropaghe commented 3 years ago

I executed yarn add react-native-sip in a macOS Catalina 10.15.7. First of all I've got problems with docker that wasn't installed. After fixing it I got this error:

Setting up libgail-common:amd64 (2.24.32-4ubuntu4) ...
Setting up ubuntu-mono (19.04-0ubuntu3) ...
Processing triggers for systemd (245.4-4ubuntu3.2) ...
Processing triggers for libc-bin (2.31-0ubuntu9.1) ...
Processing triggers for ca-certificates (20190110ubuntu1.1) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...

done.
done.
Processing triggers for libgdk-pixbuf2.0-0:amd64 (2.40.0+dfsg-3) ...
Processing triggers for dbus (1.12.16-2ubuntu2.1) ...
E: Could not configure 'libc6:i386'. 
E: Could not perform immediate configuration on 'libgcc-s1:i386'. Please see man 5 apt.conf under APT::Immediate-Configure for details. (2)
The command '/bin/sh -c DEBIAN_FRONTEND=noninteractive apt-get -y install     software-properties-common git curl bzip2 gcc g++ binutils make autoconf openssl     libssl-dev ant libopus0 libpcre3 libpcre3-dev build-essential nasm libc6:i386 

I'm missing something? Is there any way to install it on windows?

dariomalfatti-centropaghe commented 3 years ago

I found the solution: the android docker file inside the pjsip builder folder use the latest image of Ubuntu that nowadays is ubuntu:rolling. If I change the image to an older version like ubuntu:xenial-20191212 it works. I don't know what is the really problem between libc6:i386 and the latest verion of ubuntu but with an older version works.