WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Failing to execute binary file  (Read 7490 times)

Offline remus

  • Sr. Member
  • ****
  • Posts: 371
Failing to execute binary file
« on: May 21, 2017, 10:46:34 PM »
Hi all,

I'm trying to get the 32bit version of gdrive working on microcore_3.8.4

I've downloaded the file from https://github.com/prasmussen/gdrive
link : https://docs.google.com/uc?id=0B3X9GlR6EmbnLV92dHBpTkFhTEU&export=download

Here's my output.
Code: [Select]
$ gdrive-linux-386
-sh: gdrive-linux-386: not found

Thanks for all comments and suggestions
Live long and prosper.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11704
Re: Failing to execute binary file
« Reply #1 on: May 21, 2017, 10:52:41 PM »
Hi remus
Are you trying to execute it in a directory not in the path? If so, try:
Code: [Select]
./gdrive-linux-386

Offline remus

  • Sr. Member
  • ****
  • Posts: 371
Re: Failing to execute binary file
« Reply #2 on: May 21, 2017, 11:26:21 PM »
Thanks Rich,

its working now.

I'm getting the following error, which I'll speak with the developer about, just posting it here incase its obvious what the problem is.

Quote
Failed getting oauth client: Failed to exchange auth code for token: Post https://accounts.google.com/o/oauth2/token: x509: failed to load system roots and no roots provided

I did try running it as root.
Live long and prosper.

Offline remus

  • Sr. Member
  • ****
  • Posts: 371
Re: Failing to execute binary file
« Reply #3 on: May 21, 2017, 11:31:03 PM »
apparently I need to install ca-certificates to get it to work....

I'll see if I can find it anywhere in the 3x repository's.
Live long and prosper.

Offline remus

  • Sr. Member
  • ****
  • Posts: 371
Re: Failing to execute binary file
« Reply #4 on: May 21, 2017, 11:36:44 PM »
No luck finding it.

Anyone know if this was ever made into a installer for tinycore/microcore 3.8.4 ?
Live long and prosper.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11704
Re: Failing to execute binary file
« Reply #5 on: May 21, 2017, 11:41:27 PM »
Hi remus
TC4 has  ca-certificates.tcz. It just got added to TC8 recently too.

Offline remus

  • Sr. Member
  • ****
  • Posts: 371
Re: Failing to execute binary file
« Reply #6 on: May 21, 2017, 11:45:29 PM »
I'll TC4 up in a VM and see how I go.
Live long and prosper.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11704
Re: Failing to execute binary file
« Reply #7 on: May 21, 2017, 11:55:41 PM »
Hi remus
You can download directly from:
http://tinycorelinux.net/4.x/x86/tcz/ca-certificates.tcz
Or if you need more current versions get them from TC8:
http://tinycorelinux.net/8.x/x86/tcz/ca-certificates.tcz

Offline remus

  • Sr. Member
  • ****
  • Posts: 371
Re: Failing to execute binary file
« Reply #8 on: May 25, 2017, 09:26:06 PM »
Thanks Rich.

That did the trick.
Live long and prosper.