LCDproc development and user support list

Text archives Help


[Lcdproc] OpenBSD glcd (Cannot load specified object)


Chronological Thread 
  • From: brendanhoran at basstech.net (Brendan Horan)
  • Subject: [Lcdproc] OpenBSD glcd (Cannot load specified object)
  • Date: Sat, 20 Feb 2016 14:39:23 +0800 (HKT)

Hi,

I am running OpenBSD 5.8.
I want to use the driver "glcd" so I need to compile lcdproc, rather the use
the OpenBSD package(v0.5.5).

I configure it like this :
./configure --enable-drivers=glcd

Run the normal "make"
No errors reported during any of the above steps.

I then configure LCDd.conf driver to "glcd" etc..
Then I try run the server like this "LCDd -r5 -f -c /etc/LCDd.conf"
I get the following error :
----------------------------------------------------------------------------------
driver_load(name="glcd", filename="server/drivers/glcd.so")
Could not open driver module server/drivers/glcd.so: Cannot load specified
object
Driver [glcd] binding failed
Module server/drivers/glcd.so could not be loaded
Could not load driver glcd
There is no output driver
Critical error while initializing, abort.
----------------------------------------------------------------------------------

The file is there are seems valid :
----------------------------------------------------------------------------------
bash-4.3# file glcd.so
glcd.so: ELF 64-bit LSB shared object, x86-64, version 1
----------------------------------------------------------------------------------
bash-4.3# ldd glcd.so
glcd.so:
Start End Type Open Ref GrpRef Name
000003a93fd04000 000003a94010c000 dlib 1 0 0
/root/lcd/lcdproc-0.5.7/server/drivers/glcd.so
000003a903e48000 000003a90424d000 rlib 0 1 0
/usr/local/lib/libusb.so.10.0
000003a93378a000 000003a933b93000 rlib 0 1 0
/usr/lib/libkvm.so.16.1
000003a9c2ebb000 000003a9c32c6000 rlib 0 1 0
/usr/local/lib/libusb-1.0.so.1.0
000003a9a2e07000 000003a9a3219000 rlib 0 3 0
/usr/lib/libpthread.so.19.0
bash-4.3#
----------------------------------------------------------------------------------


If I try build lcdproc with another driver say for example "CFontz" I get no
errors and it just works.
Aside from the fact I have no CFontz device :)
----------------------------------------------------------------------------------
driver_load(name="CFontz", filename="server/drivers/CFontz.so")
CFontz: using Device /dev/ttyS0
CFontz: open(/dev/ttyS0) failed (No such file or directory)
Driver [CFontz] init failed, return code -1
Module server/drivers/CFontz.so could not be loaded
Could not load driver CFontz
There is no output driver
Critical error while initializing, abort.
----------------------------------------------------------------------------------
^ loads the .so file fine.


There seems to be an issue with the glcd driver and OpenBSD ?
Or do I need to give it different "configure" flags?


Thanks for your help




Archive powered by MHonArc 2.6.18.

Top of page