I have a cubox-i4pro and have the 3.0.35 BSP4.1.0.
It seems one has to manually create a symbolic link to the graphics library one desires. For example, I want the framebuffer library so need to link libEGL-fb.so -> libEGL.so.1. But the problem is that when pacman installs something and runs ldconfig, ldconfig finds that the others don't have links and so tries to create the soname links for these files which ends up undoing the links that I desired. So I end up with something like this:
$this->bbcode_second_pass_code('', '-rwxr-xr-x 1 root root 85361 Feb 4 14:29 /usr/lib/libEGL-dfb.so
-rwxr-xr-x 1 root root 86888 Feb 4 14:28 /usr/lib/libEGL-fb.so
lrwxrwxrwx 1 root root 12 Feb 4 14:29 /usr/lib/libEGL.so -> libEGL-fb.so
lrwxrwxrwx 1 root root 13 Feb 4 14:39 /usr/lib/libEGL.so.1 -> libEGL-x11.so
-rwxr-xr-x 1 root root 89588 Feb 4 14:28 /usr/lib/libEGL-wl.so
-rwxr-xr-x 1 root root 81141 Feb 4 14:28 /usr/lib/libEGL-x11.so')
Is there any way to stop ldconfig doing this whilst still having the libraries automatically accessible to programs? Or is LD_LIBRARY_PATH to a non-standard directory the only way out of this?