Ask Your Question

Piyush's profile - activity

2016-04-07 07:20:03 -0500 received badge  Famous Question (source)
2014-12-06 08:09:06 -0500 received badge  Notable Question (source)
2014-04-14 16:42:59 -0500 received badge  Popular Question (source)
2013-01-31 09:00:14 -0500 commented answer Missing Shared library

Thanks Now it's working. Just had to add the following line to .bashrc export LD_LIBRARY_PATH="/usr/local/lib";

2013-01-31 08:58:24 -0500 received badge  Supporter (source)
2013-01-31 04:40:13 -0500 asked a question Missing Shared library

Hello all, I have just installed OpenCV 2.4.3. I ran this following sample program just to test if it is working properly. It compiles successfully but give the following error at run-time

error while loading shared libraries: cannot open shared object file: No such file or directory

Here is the output of the pkg-config --cflags --libs opencv

-I/usr/local/include/opencv -I/usr/local/include /usr/local/lib/ /usr/local/lib/ /usr/local/lib/ /usr/local/lib/ /usr/local/lib/ /usr/local/lib/ /usr/local/lib/ /usr/local/lib/ /usr/local/lib/ /usr/local/lib/ /usr/local/lib/ /usr/local/lib/ /usr/local/lib/ /usr/local/lib/ /usr/local/lib/ /usr/local/lib/ /usr/local/lib/

Thank you