How to get rsync to work for my flatpak

Hi,
I am using the Goland flatpak, and in it I want to invoke the rsync installed in my system.
This fails due to a missing shared library:

$ /var/run/host/usr/bin/ldd /var/run/host/usr/bin/rsync
        linux-vdso.so.1 (0x00007ffd750cc000)
        libattr.so.1 => /usr/lib/x86_64-linux-gnu/libattr.so.1 (0x00007f3cd7c4e000)
        libacl.so.1 => /usr/lib/x86_64-linux-gnu/libacl.so.1 (0x00007f3cd7c44000)
        libpopt.so.0 => not found
        libc.so.6 => /usr/lib/x86_64-linux-gnu/libc.so.6 (0x00007f3cd7a64000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f3cd7ef4000)

If I replace this rsync binary with one build statically , it works fine.

Here is the yaml used by the flatpak, no special access to lib files is granted:

app-id: com.jetbrains.GoLand
runtime: org.freedesktop.Sdk
runtime-version: '21.08'
sdk: org.freedesktop.Sdk
command: goland.sh
separate-locales: false
finish-args:
  - --share=ipc
  - --socket=x11
  - --share=network
  - --socket=pulseaudio
  - --filesystem=host
  - --talk-name=org.freedesktop.Notifications
  - --talk-name=org.freedesktop.secrets
  - --filesystem=xdg-run/keyring
  - --filesystem=xdg-run/gnupg:ro
  - --device=all
  - --env=GOLAND_JDK=${FLATPAK_DEST}/goland/jbr/
  - --allow=devel
modules:
  - name: goland
    buildsystem: simple
    build-commands:
      - mkdir goland
      - tar xzfv goland.tar.gz --directory=${FLATPAK_DEST}/ --strip-components=1
      - install -T -Dm644 ${FLATPAK_DEST}/bin/goland.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg
      - install -t ${FLATPAK_DEST}/share/applications/ -Dm644 ${FLATPAK_ID}.desktop
      - install -t ${FLATPAK_DEST}/share/metainfo/ -Dm644 ${FLATPAK_ID}.metainfo.xml
      - icon_in="${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg";
        icon_out="${FLATPAK_ID}.png"; for s in {32,64,128,256,512}; do rsvg-convert
        "${icon_in}" -w "${s}" -h "${s}" -a -f png -o "${icon_out}"; install -p -Dm644
        "${icon_out}" -t "${FLATPAK_DEST}/share/icons/hicolor/${s}x${s}/apps/"; done;
    sources:
      - type: file
        url: https://download.jetbrains.com/go/goland-2022.1.2.tar.gz
        sha256: eb1a09c7a94f15d19786266694482df273307e1f36d900a894472cdde67c66ea
        x-checker-data:
          type: jetbrains
          code: GO
        dest-filename: goland.tar.gz
      - type: file
        path: com.jetbrains.GoLand.metainfo.xml
      - type: file
        path: com.jetbrains.GoLand.desktop

It’s not supposed to work. This is not what the filesystem=host is for.