Todd Andrews - 2013-07-02

Hello,

Fedora 16, 32bit
Attempting to use lcdproc with glcdlib driver.

Short version: Launching LCDd gives me the error:

Could not open driver module /usr/local/lib/lcdproc/glcdlib.so: libglcddrivers.so.1: cannot open shared object file: No such file or directory

Longer version follows....

I compiled these packages from source, in this order:

graphlcd-base-0.1.9.tgz
glcdprocdriver-0.0.6
lcdproc-0.5.6  (./configure --enable-drivers=all)

I edited /usr/local/etc/LCDd.conf to have:

DriverPath=/usr/local/lib/lcdproc/
Driver=glcdlib
Foreground=yes
Driver=framebuffer     [for glcdlib section]

I edited /usr/local/etc/graphlcd.conf to have:

Width=800
Height=480

I saw that libglcddrivers.so.1 wasn't under the lcdproc directory so I created a symbolic link to it:

sudo ln -s /usr/local/lib/libglcddrivers.so.1.0.0 /usr/local/lib/lcdproc/libglcddrivers.so.1

I can prove that both the original and symlink target exist:

$ ls -l /usr/local/lib/libglcddrivers.so.1.0.0
-rwxr-xr-x. 1 root root 901694 Jul  1 22:16 /usr/local/lib/libglcddrivers.so.1.0.0
$ ls -lL /usr/local/lib/lcdproc/libglcddrivers.so.1 
-rwxr-xr-x. 1 root root 901694 Jul  1 22:16 /usr/local/lib/lcdproc/libglcddrivers.so.1

I can prove that glcdlib.so exists at the path shown in the error:

$ ls -l /usr/local/lib/lcdproc/glcdlib.so
-rwxr-xr-x. 1 root root 13008 Jul  1 22:33 /usr/local/lib/lcdproc/glcdlib.so
$

When I launch LCDd I get:

$ sudo /usr/local/sbin/LCDd
LCDd 0.5.6, LCDproc Protocol 0.3
(snip)
Could not open driver module /usr/local/lib/lcdproc/glcdlib.so: libglcddrivers.so.1: cannot open shared object file: No such file or directory
Driver [glcdlib] binding failed
Could not load driver glcdlib
There is no output driver
Critical error while initializing, abort.
$

I don't know what I'm doing wrong. Can anyone help?