I encountered the below error message saying Boost needs to be installed during Torque PBS installation on Ubuntu 18.04 server. This is the error snippet when running ./configure command.
checking whether boost is installed... configure: error: Torque needs Boost, but it was not found on your system
Solution:
To solve the above issue,
Step 1: You need to install libboost-all-dev by entering the following commands in the terminal:
#sudo apt-get install libboost-all-dev
Step 2: Run configure with --with-boost-path
option as shown below:
./configure --prefix=/usr/local/torque --with-boost-path=/usr/include/boost
How to find the Boost-Path
After installing libboost-all-dev
, to find the path of boost installation, follow the below command:
#sudo whereis boost boost: /usr/include/boost
Also you can find the boost library files in /usr/lib/x86_64-linux-gnu
directory.
Happy Installation!