View Single Post
Old 03-13-2024, 04:21 PM   #11
capink
Wizard
capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.
 
Posts: 1,091
Karma: 1948136
Join Date: Aug 2015
Device: Kindle
Quote:
Originally Posted by capink View Post
Note that you must make sure the binary have all permissions necessary to run, otherwise the plugin will not be able to function.
Quote:
Originally Posted by CardamomDragon View Post
ERROR: Path not found: Unable to run k2pdfopt from specified location. Make sure you enter the right path and that the file has execution permissions
You need to make sure the binary has execution permissions. In the terminal:

Code:
chmod +x /path/to/k2pdfopt/binary
Or whatever the equivalent command (or method) in Mac OS is.

Edit: An alternative approach is to copy the binary to any directory in your system $PATH, in which case you do not need to specify its location. You can know the directories in you system $PATH using the following command:

Code:
echo $PATH
Note that MacOS will by default disables copying to /usr/bin. A better location would be /usr/local/bin provided it is in your system $PATH

Last edited by capink; 03-13-2024 at 04:36 PM.
capink is offline   Reply With Quote