Problem with xfce-mcs-manager and sound_settings plugin
Alexander Toresson
alexander.toresson at gmail.com
Tue Apr 24 20:47:32 CEST 2007
On 4/24/07, Landry Breuil <landry.breuil at gmail.com> wrote:
>
>
> 2007/4/24, Alexander Toresson <alexander.toresson at gmail.com>:
> > On 4/24/07, Landry Breuil <landry.breuil at gmail.com> wrote:
> > > Hello,
> > >
> > > i'm currently updating Xfce to 4.4.1 in OpenBSD, and i struggle in an
> issue
> > > with xfce-mcs-manager.
> > >
> > > mcs-plugins/sound_settings.so installed by xfce4-mixer cannot be loaded
> into
> > > manager :
> > >
> > > (xfce-mcs-manager:552): xfce-mcs-manager-WARNING **: Module
> > > /usr/local/lib/xfce4/mcs-plugins/sound_settings.so
> cannot
> > > be opened (Cannot load specified object)
> > >
> > > Other mcs-plugins are correctly loaded/shown (apart
> > > xscreensaver_settings.so, but i assume it's normal as xscreensaver is
> not
> > > available/installed), and all plugins are installed in the same
> directory :
> > > /usr/local/lib/xfce4/mcs-plugins/
> > >
> > > I see in
> > >
> http://svn.xfce.org/svn/xfce/xfce-mcs-manager/tags/xfce_4_4_1/xfce-mcs-manager/xfce-mcs-manager.c
> > > that g_module_open() fails, what can i change to get more debug
> information
> > > ? a dlopen() fails ? with a simple test program, is it possible to test
> > > mcs-plugin 'integrity' ? nm on the .so file shows lots of syms, but no
> > > g_module_* call, is it normal (others have g_module_check_init()) ?
> > >
> > > nm /usr/local/lib/xfce4/mcs-plugins/sound_settings.so |
> > > grep g_module => nothing
> > >
> > > using gtk+2-2.8.20 and glib2-2.10.3..
> > > should i file a bug report ?
> > >
> > > Thanks,
> > > Landry
> > >
> >
> > Did you try just running ldd on the .so file?
>
> Yep, but as it's a .so file...
> $file sound_settings.so
> sound_settings.so: ELF 32-bit LSB shared object, Intel 80386, version 1, not
> stripped
> $ldd sound_settings.so
> sound_settings.so:
> sound_settings.so: Exec format error
> sound_settings.so: exit status 1
>
> The only quirk i'm seeing is in sound_settings.la, -lossaudio is listed in
> dependencies but the path isn't in the -L list (/usr/lib/libossaudio.so.3.0)
> I tried add -L/usr/lib to dependency_libs, but this changed nothing, and i
> don't know if .la file is read by g_module_open as .so file exists..
>
> I attach the output of nm and the .la file here.
>
> Landry
>
Odd, ldd works on shared objects here and has always done.
Regards, Alexander Toresson
More information about the Xfce4-dev
mailing list