I was following this instruction on this site to installing tesseract: https://github.com/tesseract-ocr/tesseract/wiki/Compiling
git clone https://github.com/tesseract-ocr/tesseract.git
cd tesseract
./autogen.sh
./configure
make
sudo make install
sudo ldconfig
But there is a problem in the last line and I got this error messages when I tried ldconfig
:
/sbin/ldconfig.real: /usr/local/lib is not a known library type
/sbin/ldconfig.real: /usr/local/lib/pkgconfig is not a known library type
What's that error meaning and how can I fix it?
This is the content of /etc/ld.so.conf.d/libc.conf
:
# libc default configuration
/usr/local/lib
make
stage complete successfully? What is the output ofls -ld /usr/local/lib{,/pkgconfig}
?