[mythtv-commits] Ticket #5475: myth can't load plugins on x86_64
MythTV
mythtv at cvs.mythtv.org
Fri Jun 27 05:33:34 UTC 2008
#5475: myth can't load plugins on x86_64
--------------------------------+-------------------------------------------
Reporter: wberrier at gmail.com | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: 0.21.1
Component: mythtv | Version: 0.21-fixes
Severity: medium | Mlocked: 0
--------------------------------+-------------------------------------------
I'm using the packman packages for opensuse 11.0 on x86_64.
I installed the plugins, but they can't be found.
The issue is this:
access("/usr/lib/mythtv/plugins", F_OK) = -1 ENOENT (No such file or
directory)
But the actual plugins are here:
wberrier at berrier:~> ls /usr/lib64/mythtv/plugins/
libmytharchive.so libmythcontrols.so libmythmusic.so libmythvideo.so
The code that loads this directory is here:
mythtv/libs/libmyth/mythcontext.cpp:
QString MythContext::GetLibraryDir(void)
{
return d->m_installprefix + "/lib/mythtv/";
}
QString MythContext::GetPluginsDir(void)
{
return GetLibraryDir() + "plugins/";
}
GetLibraryDir should load lib64 on this arch and should use 'libdir' that
was passed to configure instead of hardcoding 'lib'.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5475>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list