AppImageエラー:ビルド後にライブラリが見つかりません。

AppImageエラー:ビルド後にライブラリが見つかりません。

(Linux Mint 20)スイートのさまざまなコンポーネントを構築できることを確認するためのテストで、LibreOffice BaseのAppImageを構築しようとしています。これは私のものですlibreoffice-base.yml

app: LibreOffice_Base

ingredients:
  dist: focal
  packages:
    - libreoffice-base
  sources:
    - deb http://mirror.arizona.edu/ubuntu focal main restricted universe multiverse
    - deb http://mirror.arizona.edu/ubuntu focal-updates main restricted universe multiverse
  ppas:
    - ppa:libreoffice/ppa

script:
  - cp usr/share/applications/libreoffice-base.desktop .
  - cp usr/share/icons/gnome/256x256/apps/libreoffice-base.png .

コマンドを実行すると、bash -ex ./pkg2appimage libreoffice-base.ymlアプリケーションout/LibreOffice_Base-.glibc2.29-x86_64.AppImageイメージがビルドされます(ビルド中にエラーはありません)。 appimageを実行しようとすると、次のエラーメッセージが表示されます。

$ ./LibreOffice_Base-.glibc2.29-x86_64.AppImage 
/tmp/.mount_LibreOnoGKp7/usr/lib/libreoffice/program/javaldx: error while loading shared libraries: libreglo.so: cannot open shared object file: No such file or directory
Warning: failed to read path from javaldx
/tmp/.mount_LibreOnoGKp7/usr/lib/libreoffice/program/soffice.bin: error while loading shared libraries: libreglo.so: cannot open shared object file: No such file or directory

uno-libs-privateこのライブラリを検索してみると、ymlファイルにパッケージを追加する必要があることがわかりました。ただし、これによりライブラリがlibreglo.so存在する場所(にあります)にも上記のエラーメッセージが表示されますLibreOffice_Base/LibreOffice_Base.AppDir/usr/lib/libreoffice/program/libreglo.so。ライブラリはすでにシステムにインストールされていますが、問題にならないようです(そうなるとは思わなかった)。私が間違っているの?

ベストアンサー1

おすすめ記事