prasmussen / gdrive

Google Drive CLI Client
MIT License
8.99k stars 1.19k forks source link

gdrive: cannot execute: required file not found #670

Open Mi605 opened 1 year ago

Mi605 commented 1 year ago

On my amd 64bit most recently updated debian based linux system gdrive fails. I've installed latest available installer package for 64bit linux amd https://github.com/prasmussen/gdrive/releases/download/2.1.1/gdrive_2.1.1_linux_amd64.tar.gz and checked the download against the checksum file before extracting. Extracted file was stored to the proper path and is set executable. Nevertheless gdrive fails coming up:

$ gdrive help
bash: /usr/local/bin/gdrive: cannot execute: required file not found

$ gdrive version
bash: /usr/local/bin/gdrive: cannot execute: required file not found

$ gdrive about
bash: /usr/local/bin/gdrive: cannot execute: required file not found

$ which gdrive
/usr/local/bin/gdrive

$ ls -l /usr/local/bin/gdrive
-rwxr-xr-x 1 root root 8210397 28. Mai 2021  /usr/local/bin/gdrive

What file does gdrive expect to be present in order to get executed? How to find out what is missing? Shouldn't be all needed static libraries included in the gdrive binary, if I understand the install instructions from the readme properly? (Since I'm not a programmer, I can't understand the manual procedure of building gdrive from sources, I need either a .deb package or an executable file to install.)

$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux bookworm
Release:    n/a
Codename:   bookworm

$ uname -r
6.1.10-antix.1-amd64-smp
wubli commented 1 year ago

I had the same issue with Ubuntu. That's probably because of missing libc.musl-x86_64.so.1. I ended up using i386 but you can try ln -s /usr/lib/x86_64-linux-musl/libc.so /lib/libc.musl-x86_64.so.1