Error shared libraries libopencv_xphoto.so.3.1 missing - linux

I'm working on Raspberry Pi Raspbian GNU/Linux 8 (jessie).
I have installed
-Tesseract 4.00.00alpha
- leptonica-1.74.1
-libjpeg 6b (libjpeg-turbo 1.3.1) : libpng 1.2.50 : libtiff 4.0.3 : zlib 1.2.8
-OpenCV 2.4.11
Installed openalpr but I am not able to use it, only I can do is watch man alpr. Any other thing I try to do with this throws an error.
alpr: error while loading shared libraries: libopencv_xphoto.so.3.1: cannot open shared object file: No such file or directory
I thought this was because I didn't have OpenCV3.1.0 installed, but installed it and the error is still there.
This file is inside /usr/local/lib, maybe I have to put it somewhere else but I don't know where, or do I have to reinstall Openalpr to get compile all of this from scratch?
Greetings!

Made it work..
After installing OpenCV3.1.0 just had to run sudo ldconfig command.
And thats all.

Related

Can't load FOT toolbox on Scilab 6.1.0

I recently installed the Scilab 6.1.0 on my Ubuntu 18.04 virtual machine on my windows pc. I am able to use the editor but cannot seem to load the Fossee Optimisation Toolbox. It installs successfully but shows the following error when restarting and trying to load the toolbox. I have already tried reinstalling Scilab and ubuntu. Can someone tell me how to resolve this?
atomsLoad: An error occurred while loading 'FOT-0.4':
exec: error on line #61: "link: The shared archive was not loaded: libquadmath.so.0: cannot open shared object file: No such file or directory"1
FOT is built using gfortran, and the missing library is one of its libraries. Scilab uses also gfortran and is including the corresponding libraries. But there is likely a version number mismatch, i.e. FOT has been built with a more recent version of gfortran. Installing a system wide gfortran with sudo apt-get install gfortran will probably install the version you need.

Open MPI Files Can´t Be Found For (RegCM) Installation

I tried to install a climate modelling programm (RegCM) for which I used Ubuntu on VMware Workstation, GNU fortran compiler and Open MPI.
Like suggested [https://gforge.ictp.it/gf/download/docmanfileversion/35/758/Install_RegCM4.3.pdf] I installed the GNU fortran compiler, Open MPI, unpacked RegCM Version 4.4.5 and configured RegCM (./configure CC=gcc FC=gfortran).
In 'sudo make' the Error
'Error: Can't open included file 'mpif.h''
appears. In 'RegCM-4.3.5.8/Main/mpplib' which was searched is no file with that name but one can be found in 'openmpi-1.10.2/ompi/include'. Just to give it a try copied 'mpif.h' in the searched directory.
It worked but now a new Error appeared:
'Can't open included file 'mpif-config.h''
which again can be found in 'openmpi-1.10.2/ompi/include'. Again copied the same Error arised with another file.
I also tried a older Version of RegCM (4.3) with the same effect.
Any suggestions on this?
? Which version of Ubuntu are you using ? Like "Ubuntu 16.04 - amd64".
mpif.h, mpif-config.h : sudo apt-get install libopenmpi-dev
Note : RegCM-4.3.5.8 is buggy. No luck with '4.3.5.8' here, any contemporary OS. RegCM-4.5.0 → RegCM-4.5.0.tar.gz
https://gforge.ictp.it/gf/download/frsrelease/252/1580/RegCM-4.5.0.tar.gz builds with no errors : Tested with Ubuntu 16.04 - 64bits and PCLinuxOS2016 -32bits.

libldap-2.4.so.2: cannot open shared object file: No such file or directory

I was trying to uninstall openldap but now what ever command i am trying with yum i am getting
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
libldap-2.4.so.2: cannot open shared object file: No such file or directory
Please install a package which provides this module, or
verify that the module is installed correctly.
It's possible that the above module doesn't match the
current version of Python, which is:
2.6.6 (r266:84292, May 1 2012, 13:52:17)
[GCC 4.4.6 20110731 (Red Hat 4.4.6-3)]
If you cannot solve this problem yourself, please go to
the yum faq at:
http://yum.baseurl.org/wiki/Faq
Can anyone tell me how to fix this issue

How to install libjpeg-turbo8 on Ubuntu 12.0.4

As suggested by Google, I'm trying to get http://jpegclub.org/jpegtran/ working on my Ubuntu server, but I'm getting the error:
"jpegtran: error while loading shared libraries: libjpeg.so.8: cannot open shared object file: No such file or directory"
A Google search told me to install (via apt-get) libjpeg-turbo8, however apt-get can't find the package. My own Ubuntu computer (running 12.0.10) can find the package just fine.
I tried installing http://sourceforge.net/projects/libjpeg-turbo/ with no luck.
Am I doing something wrong or have I missed something? How do I get jpegtran working?
This question may be old, but i was trying to run the glassfish updatetool and it failed because of the lack of the libjpeg library.
Steps i did take:
1. install libjpeg62:i386 (for 64 bit ubuntu amd6)
I hope it helps someone

Building 0MQ under Cygwin

I'm trying to build and install the ZeroMQ libraries (2.1.11 cloned from GitHub) under Cygwin (on a Windows 7 system).
configure gives me this error message:
configure: error: cannot link with -luuid, install the e2fsprogs
package
which persists even after I install e2fsprogs (1.41.14-1).
Is this a sign that ZeroMQ needs a real Ext2 file system? Where did I go wrong?
You need to install the libuuid-devel package. (When getting a linker error about -lxyz, searching http://cygwin.com/packages for libxyz usually does the trick.)

Resources