Command-synchrorep.wrapper - not found

I’ve installed the binary synchrorep in /usr/bin in my Makefile, (I see it when debuging the build) but when installed, snap tell me :
/snap/synchrorep/9/command-synchrorep.wrapper: 2: exec: synchrorep: not found

Here is my apps tag in snapcraft.yml :

    command: synchrorep

Any chance you can paste the entire yaml so we can debug?

Of course.

Here is the full yaml :

name: synchrorep
version: "v1.5.5"
summary: Synchronize folders
description: |
  Synchorep is an opensource software to synchronize two directories, that means reporting all modifications of one to the other and vice versa. At the end of synchronization, both directories will be strictly the same. This is useful mainly for nomads who work with a laptop or usb key but may interest also users who want to gain time with the use of differential copy.
base: core18
confinement: strict
    plugin: autotools
      - g++
      - make
      - libgtk2.0-dev
      - libsqlite3-dev
      - libnautilus-extension-dev
    command: synchrorep

the install target in the of this code uses hardcoded paths all over the place instead of respecting the $DESTDIR variable, snapcraft sets DESTDIR to make sure that autotools code installs all bits and pieces in the proper places for being bundled in a snap.

with the current setup a build (with or without snapcraft) will simply install everything into /usr of the build machine instead of $SNAPCRAFT_PART_INSTALL (which $DESTDIR normally points to for a snap build) …

I’ve tried to make a :
cp synchrorep $DESTDIR/synchrorep
and I’ve got no files in the /snap/synchrorep directories.