[Solved] Unable to run kindlegen


Recommended Posts

Hi all,


I'm unable to run kindlegen on UnRaid - I get the following error: cannot execute binary file: Exec format error

 

I know this sounds like a strange issue, but I'm running a calibre web docker that uses kindlegen to convert to .mobi format to send to my kindle.

 

Given that the docker processes run natively, I'm surprised that it doesn't work.

 

I downloaded kindlegen from the following url: http://kindlegen.s3.amazonaws.com/kindlegen_linux_2.6_i386_v2_9.tar.gz, extracted it into a temporary folder, and attempted to execute it using ./kindlegen. Then I tried to chmod +x it just in case, and execute it again. Same result.

 

I read somewhere that usually that means I have the binary for the wrong OS, like trying to execute an ARM binary on linux, but this is the linux binary running on... linux.

 

What am I missing here? I have a feeling I'm missing something very, very simple...

 

 

Thanks,

 

PJ

Edited by YouAreTheOneNeo
Solved
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.