Sometimes after a fresh install of OpenCV in a fresh install of Linux you may come across the error:
error while loading shared libraries: libcv.so.2.0: cannot open shared object file: No such file or directory
If you do then follow the instructions provided by an OpenCV thread on nabble.com. Click here
Subscribe to:
Post Comments (Atom)
Weird error. Do you know what causes this? I have not done too many installs, I am still running OpenCV 1.0.
ReplyDeleteBTW, what linux distro did you reinstall? Is there a new version of Ubuntu out?
I recently installed Sabayon 5.1 on my desktop and I was very impressed with its hardware detection. It even got my Creative X-Fi sound card working right out of the box (which creative sound cards are know for not playing nice in linux).
I believe this is more of a specific error to Ubuntu. I installed Ubuntu 9.10 on one of the Laptops from the Kingsbury office to run my code with. Got sick of pretending my Shuttle was a laptop.
ReplyDeleteI would like to check out Sabayon again. Maybe I will set up a virtual machine again with Sabayon.
By the by 9.10 is amazing and, among other things, bootup and shutdown times are so sweet. I wish I had a laptop with solid-state HD to really test it out.
I got the same error on a fresh install of Fedora 12 (which is also very sweet and way faster than Ubuntu 9.10 on my laptop).
ReplyDeleteFedora's ld.so.config file is a little different so I changed the proposed solution a little bit. Namely, rather than change ld.so.config I added a locallib.config file to /etc/ld.so.conf.d/ (if you use Fedora and look at ld.so.conf it'll make sense). Anyway, it fixed the issue. Thanks for linking to that -- would have been very hard to find (I never look at Nabble links).
I will have to try out the new Fedora. I haven't used Fedora since Fedora 5 so I imagine it must be better.
ReplyDeleteThank you for describing your solution on Fedora. Hopefully others will find your solution useful.