Skip to content

Commit

Permalink
PATCH: fix libatomic.so.1 not found
Browse files Browse the repository at this point in the history
  • Loading branch information
dumganhar authored Oct 9, 2023
1 parent 89444e6 commit 2d71870
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,34 @@ jobs:
name: "android"
runs-on: ubuntu-latest
steps:
- name: Show ubuntu libraries
run: |
if [[ -d "/usr/lib/i386-linux-gnu" ]]; then
echo "/usr/lib/i386-linux-gnu exists."
ls -la /usr/lib/i386-linux-gnu/libatomic.so.1*
else
echo "/usr/lib/i386-linux-gnu doesn't not exist."
fi
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install -y libc6:i386 libstdc++6:i386 libatomic1:i386
if [[ -d "/usr/lib/i386-linux-gnu" ]]; then
echo "/usr/lib/i386-linux-gnu exists."
ls -la /usr/lib/i386-linux-gnu/
ls -la /usr/lib/i386-linux-gnu/libatomic.so.1*
else
echo "/usr/lib/i386-linux-gnu doesn't not exist."
fi
if [[ -d "/usr/lib/x86_64-linux-gnu" ]]; then
echo "/usr/lib/x86_64-linux-gnu exists."
ls -la /usr/lib/x86_64-linux-gnu/libatomic.so.1*
else
echo "/usr/lib/x86_64-linux-gnu doesn't not exist."
fi
- name: Checkout
uses: actions/checkout@v3

Expand Down

0 comments on commit 2d71870

Please sign in to comment.