This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

library confusion

Hi,

Most likely a trivial case but I can not find a solution:

I've compiled and installed libv4l2 and it cn be seen in /lib:

root@omapl138-lcdk:~# ls /lib -l

..

-rw-r--r-- 1 root root 131304 May 18 2016 libv4l2.a
-rwxr-xr-x 1 root root 1064 May 18 2016 libv4l2.la
lrwxrwxrwx 1 root root 16 May 18 2016 libv4l2.so -> libv4l2.so.0.0.0
lrwxrwxrwx 1 root root 16 May 20 2016 libv4l2.so.0 -> libv4l2.so.0.0.0
-rwxr-xr-x 1 root root 114655 May 18 2016 libv4l2.so.0.0.0

..

And also 

root@omapl138-lcdk:~# ldconfig -p

...

libv4l2.so.0 (libc6) => /lib/libv4l2.so.0
libv4l2.so (libc6) => /lib/libv4l2.so
libv4l1.so.0 (libc6) => /lib/libv4l1.so.0

...

BUT:

root@omapl138-lcdk:~# v4l2-ctl
v4l2-ctl: error while loading shared libraries: libv4l2.so.0: cannot open shared object file: No such file or directory

I'm running NFS - could it influence somehow? Would system give a different message if lib was compiled wrongly and is not compatible?

risto