On Centos:
sudo yum install readline-devel
On Ubuntu:
sudo apt-get install libreadline-dev
Category: errors
-
PHP configure: Please reinstall readline – I cannot find readline.h
-
PHP configure: error: freetype.h not found
On Centos:
sudo yum install freetype-devel
On Ubuntu:
sudo apt-get install libfreetype6-dev
mkdir /usr/include/freetype2/freetype
ln -s /usr/include/freetype2/freetype.h /usr/include/freetype2/freetype/freetype.h -
PHP configure: freetype-config not found
On Centos:
sudo yum install freetype-devel
On Ubuntu:
sudo apt-get install libfreetype6-dev -
PHP configure: error: xml2-config not found. Please check your libxml2 installation.
On Ubuntu:
sudo apt-get install libxml2-dev
On CentOS/RHEL:
sudo yum install libxml2-devel
-
composer error /usr/bin/env: php: No such file or directory
Error when running composer:
composer
/usr/bin/env: php: No such file or directoryProbably, php-cli is not installed. Try:
Centos:
yum install php5-cli
Ubuntu:
sudo apt-get install php5-cliMore probably, php5-cli is installed but not found in $PATH. Find out where is the php/bin folder and try:
export PATH=”$PATH:/path/to/php/bin” -
Tsung 3900- fatal: expected_entity_reference_semicolon 2764- fatal: error_scanning_entity_ref
Error when running load test with tsung:
3900- fatal: expected_entity_reference_semicolon
2764- fatal: error_scanning_entity_ref
Config Error, aborting ! {fatal,
{error_scanning_entity_ref,
{file,”tsung.xml”},
{line,100},
{col,80}}}Solution: Tsung does not like & and always seeks for & amp;
Replace & with & amp; in any URL/input data in the xml file -
Error installing SQL Server Database Engine Services Instance Features: Wait on the Database Engine recovery handle failed
Error when install MS MSQL:
Error installing SQL Server Database Engine Services Instance Features
Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.Solution:
When you come to Server Configuration Screen, Change the Account Name of Database Engine Service to NT AUTHORITY\NETWORK SERVICE and continue installation and it will successfully install all components without any error. -
Vagrant locks each machine for access by only one process at a time
When aborting vagrant up command, the ruby process in Windows may not be killed, causing other further vagrant command failed with the error ‘Vagrant locks each machine for access by only one process at a time’
Solution: Open Task Manager, find all ‘ruby.exe’ under Process Tab and kill them.
-
/bin/bash^M: bad interpreter: No such file or directory
When copying a shell script from Windows to Linux and execute it:
/bin/bash^M: bad interpreter: No such file or directory
Solution: Remove \r:
sed -i ‘s/\r//’ scrip_file.sh
-
tesseract Unable to load unicharset file /usr/share/tesseract/tessdata/eng.unicharset
Cause: the package for English language is missing.
On Centos:
sudo yum install tesseract-en
On Ubuntu:
sudo apt-get install tesseract-ocr-eng