Software⏱️ 3 min read📅 2026-06-19

How to Fix: When installing pbc for Mylar, error: cannot find install-sh, > install.sh, or shtool

Error installing pbc for Mylar due to missing install-sh, install.sh, or shtool. Prerequisites include libreadline, libgmp, and libpbc.

Quick Answer: Install libpbc using the provided git repository and try again with ./configure.

The error 'cannot find install-sh, > install.sh, or shtool' occurs when attempting to install pbc for Mylar. This issue affects users who have not properly installed the required libraries or have corrupted their installation directory.

This error can be frustrating as it prevents the installation of a crucial library needed for Mylar. However, by following the steps outlined below, you should be able to resolve this issue and successfully install pbc for Mylar.

🔍 Why This Happens

  • The primary reason for this error is that the autoconf and automake tools are not properly installed or configured on your system. These tools are required for compiling and installing pbc. If you have not installed libautomake1.11-dev or libautotools-dev, you may encounter this error.
  • Another possible cause of this error is a corrupted installation directory. If the installation directory is damaged or incomplete, the configure script may not be able to find the required files, resulting in this error.

🛠️ Step-by-Step Verified Fixes

Installing Missing Development Packages

  1. Step 1: Open a terminal and run the command 'sudo apt-get install libautomake1.11-dev' to install the necessary development package for automake.
  2. Step 2: Next, run the command 'sudo apt-get install libautotools-dev' to install the necessary development package for autotools. This should resolve any issues with autoconf and automake.

Cleaning Up the Installation Directory

  1. Step 1: Delete the entire pbc directory, including all subdirectories, using the command 'rm -rf /path/to/pbc/directory'. This will ensure that there are no corrupted files or directories that could be causing the error.
  2. Step 2: After deleting the directory, navigate to the repository URL and run the command 'git clone http://repo.or.cz/w/pbc.git' to download the pbc source code again.

✨ Wrapping Up

To resolve the 'cannot find install-sh, > install.sh, or shtool' error when installing pbc for Mylar, you can try either installing the missing development packages or cleaning up the installation directory. By following these steps, you should be able to successfully compile and install pbc.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions