[mythtv] dlerror when compiling a plugin

Bradley Kite bradley.kite at gmail.com
Fri Jan 4 14:26:35 UTC 2008


Hi guys,

I'm just messing around trying to write a very simple plugin and learn
more about the MythUI classes.

I can get my plugin to compile without any problems (compile produces
a libmythstest.so) but MythTV wont load it - and wont produce an error
either - dlerror() returns an empty string in
mythplugin.cpp:

    VERBOSE(VB_IMPORTANT, QString("MythPlugin::init() dlerror: %1")
            .arg(dlerror()));

produces no dlerrors:

2008-01-04 14:04:01.835 MythPlugin::init() dlerror:
2008-01-04 14:04:01.835 Unable to initialize plugin 'mythtest'.

Has any body had any similar problems when trying to write/debug their
own plugins? How can I find out why MythTV wont link with it?

--
Brad


More information about the mythtv-dev mailing list