Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

gdrive: cannot execute: required file not found #670

Open
Mi605 opened this issue Feb 26, 2023 · 1 comment
Open

gdrive: cannot execute: required file not found #670

Mi605 opened this issue Feb 26, 2023 · 1 comment

Comments

@Mi605
Copy link

Mi605 commented Feb 26, 2023

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
Copy link

wubli commented Mar 1, 2023

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants