sepfy/BerryShare

I cannot start the service

Opened this issue · 1 comments

After "sudo systemctl start berry-share"

$ sudo systemctl status berry-share
● berry-share.service - BerryShare service
Loaded: loaded (/etc/systemd/system/berry-share.service; enabled; vendor preset: enabled)
Active: failed (Result: signal) since Wed 2022-05-11 12:59:39 CEST; 24s ago
Process: 7086 ExecStart=/usr/bin/berry-share (code=killed, signal=ILL)
Main PID: 7086 (code=killed, signal=ILL)
CPU: 201ms

May 11 12:59:39 raspberrypi systemd[1]: berry-share.service: Scheduled restart job, restart counter is at 5.
May 11 12:59:39 raspberrypi systemd[1]: Stopped BerryShare service.
May 11 12:59:39 raspberrypi systemd[1]: berry-share.service: Start request repeated too quickly.
May 11 12:59:39 raspberrypi systemd[1]: berry-share.service: Failed with result 'signal'.
May 11 12:59:39 raspberrypi systemd[1]: Failed to start BerryShare service.

$ journalctl -u berry-share
May 11 12:59:36 raspberrypi systemd[1]: Started BerryShare service.
May 11 12:59:36 raspberrypi systemd[1]: berry-share.service: Main process exited, code=killed, status=4/ILL
May 11 12:59:36 raspberrypi systemd[1]: berry-share.service: Failed with result 'signal'.
May 11 12:59:37 raspberrypi systemd[1]: berry-share.service: Scheduled restart job, restart counter is at 1.
May 11 12:59:37 raspberrypi systemd[1]: Stopped BerryShare service.
May 11 12:59:37 raspberrypi systemd[1]: Started BerryShare service.
May 11 12:59:37 raspberrypi systemd[1]: berry-share.service: Main process exited, code=killed, status=4/ILL
May 11 12:59:37 raspberrypi systemd[1]: berry-share.service: Failed with result 'signal'.
May 11 12:59:37 raspberrypi systemd[1]: berry-share.service: Scheduled restart job, restart counter is at 2.
May 11 12:59:37 raspberrypi systemd[1]: Stopped BerryShare service.
May 11 12:59:37 raspberrypi systemd[1]: Started BerryShare service.
May 11 12:59:38 raspberrypi systemd[1]: berry-share.service: Main process exited, code=killed, status=4/ILL
May 11 12:59:38 raspberrypi systemd[1]: berry-share.service: Failed with result 'signal'.
May 11 12:59:38 raspberrypi systemd[1]: berry-share.service: Scheduled restart job, restart counter is at 3.
May 11 12:59:38 raspberrypi systemd[1]: Stopped BerryShare service.
May 11 12:59:38 raspberrypi systemd[1]: Started BerryShare service.
May 11 12:59:38 raspberrypi systemd[1]: berry-share.service: Main process exited, code=killed, status=4/ILL
May 11 12:59:38 raspberrypi systemd[1]: berry-share.service: Failed with result 'signal'.
May 11 12:59:38 raspberrypi systemd[1]: berry-share.service: Scheduled restart job, restart counter is at 4.
May 11 12:59:38 raspberrypi systemd[1]: Stopped BerryShare service.
May 11 12:59:38 raspberrypi systemd[1]: Started BerryShare service.
May 11 12:59:39 raspberrypi systemd[1]: berry-share.service: Main process exited, code=killed, status=4/ILL
May 11 12:59:39 raspberrypi systemd[1]: berry-share.service: Failed with result 'signal'.
May 11 12:59:39 raspberrypi systemd[1]: berry-share.service: Scheduled restart job, restart counter is at 5.
May 11 12:59:39 raspberrypi systemd[1]: Stopped BerryShare service.
May 11 12:59:39 raspberrypi systemd[1]: berry-share.service: Start request repeated too quickly.
May 11 12:59:39 raspberrypi systemd[1]: berry-share.service: Failed with result 'signal'.
May 11 12:59:39 raspberrypi systemd[1]: Failed to start BerryShare service.

Similar issue: service failed to start
$ journalctl -u berry-share
gives:
févr. 19 09:22:09 raspberrypi systemd[1]: Started BerryShare service.
févr. 19 09:22:10 raspberrypi berry-share[6515]: /usr/bin/berry-share: error while loading shared libraries: libboost_system.so.1.67.0: cannot open shared object file: No such file or directory
févr. 19 09:22:09 raspberrypi systemd[1]: berry-share.service: Main process exited, code=exited, status=127/n/a
févr. 19 09:22:10 raspberrypi berry-share[6516]: /usr/bin/berry-share: error while loading shared libraries: libboost_system.so.1.67.0: cannot open shared object file: No such file or directory
févr. 19 09:22:09 raspberrypi systemd[1]: berry-share.service: Failed with result 'exit-code'.
févr. 19 09:22:10 raspberrypi berry-share[6517]: /usr/bin/berry-share: error while loading shared libraries: libboost_system.so.1.67.0: cannot open shared object file: No such file or directory
févr. 19 09:22:09 raspberrypi systemd[1]: berry-share.service: Scheduled restart job, restart counter is at 1.
févr. 19 09:22:10 raspberrypi berry-share[6518]: /usr/bin/berry-share: error while loading shared libraries: libboost_system.so.1.67.0: cannot open shared object file: No such file or directory
févr. 19 09:22:09 raspberrypi systemd[1]: Stopped BerryShare service.
févr. 19 09:22:10 raspberrypi berry-share[6519]: /usr/bin/berry-share: error while loading shared libraries: libboost_system.so.1.67.0: cannot open shared object file: No such file or directory
févr. 19 09:22:09 raspberrypi systemd[1]: Started BerryShare service.
févr. 19 09:22:09 raspberrypi systemd[1]: berry-share.service: Main process exited, code=exited, status=127/n/a
févr. 19 09:22:09 raspberrypi systemd[1]: berry-share.service: Failed with result 'exit-code'.
févr. 19 09:22:09 raspberrypi systemd[1]: berry-share.service: Scheduled restart job, restart counter is at 2.
févr. 19 09:22:09 raspberrypi systemd[1]: Stopped BerryShare service.
févr. 19 09:22:09 raspberrypi systemd[1]: Started BerryShare service.
févr. 19 09:22:09 raspberrypi systemd[1]: berry-share.service: Main process exited, code=exited, status=127/n/a
févr. 19 09:22:09 raspberrypi systemd[1]: berry-share.service: Failed with result 'exit-code'.
févr. 19 09:22:09 raspberrypi systemd[1]: berry-share.service: Scheduled restart job, restart counter is at 3.
févr. 19 09:22:09 raspberrypi systemd[1]: Stopped BerryShare service.
févr. 19 09:22:09 raspberrypi systemd[1]: Started BerryShare service.
févr. 19 09:22:09 raspberrypi systemd[1]: berry-share.service: Main process exited, code=exited, status=127/n/a
févr. 19 09:22:09 raspberrypi systemd[1]: berry-share.service: Failed with result 'exit-code'.
févr. 19 09:22:10 raspberrypi systemd[1]: berry-share.service: Scheduled restart job, restart counter is at 4.
févr. 19 09:22:10 raspberrypi systemd[1]: Stopped BerryShare service.
févr. 19 09:22:10 raspberrypi systemd[1]: Started BerryShare service.
févr. 19 09:22:10 raspberrypi systemd[1]: berry-share.service: Main process exited, code=exited, status=127/n/a
févr. 19 09:22:10 raspberrypi systemd[1]: berry-share.service: Failed with result 'exit-code'.
févr. 19 09:22:10 raspberrypi systemd[1]: berry-share.service: Scheduled restart job, restart counter is at 5.
févr. 19 09:22:10 raspberrypi systemd[1]: Stopped BerryShare service.
févr. 19 09:22:10 raspberrypi systemd[1]: berry-share.service: Start request repeated too quickly.
févr. 19 09:22:10 raspberrypi systemd[1]: berry-share.service: Failed with result 'exit-code'.
févr. 19 09:22:10 raspberrypi systemd[1]: Failed to start BerryShare service.

It seems that library libboost_system.so.1.67.0 is missing..

I've tried several manner to solve this:
$ sudo apt install libboost-all-dev
-> still the error
$ ln -s usr/lib/aarch64-linux-gnu/libboost_system.so.1.74.0 usr/lib/libboost_system.so.1.67.0
-> still the error

Please provide a turnaround.. thanks!