Re: [Rhythmbox-devel] Compiling 0.13 on Arch Linux



 On 07/21/2010 11:45 PM, Jonathan Matthew wrote:
On Thu, Jul 22, 2010 at 2:35 PM, Ryan Peters<sloshy45 sbcglobal net>  wrote:
  On 07/21/2010 11:27 PM, Jonathan Matthew wrote:
On Thu, Jul 22, 2010 at 2:12 PM, Ryan Peters<sloshy45 sbcglobal net>
  wrote:
  On 07/21/2010 08:47 PM, Jonathan Matthew wrote:
\>>    actually announce this somewhere..). I wasn't able to reproduce the
problem you're seeing with loading the plugin when compiled with
libdmapsharing 2.0. If you run rhythmbox in a terminal, it should give
you a bit more information on why it couldn't load the plugin.
_______________________________________________
rhythmbox-devel mailing list
rhythmbox-devel gnome org
http://mail.gnome.org/mailman/listinfo/rhythmbox-devel

The error I get:
(rhythmbox:2418): Rhythmbox-WARNING **:
/usr/lib/rhythmbox/plugins/daap/libdaap.so: undefined symbol:
dmap_mdns_browser_stop
This suggests your libdmapsharing was misconfigured somehow. This
symbol was not changed between 1.9.x and 2.0, but maybe there's a way
to configure it so it builds without any mdns code?  I don't know.

Check that /usr/lib/rhythmbox/plugins/daap/libdaap.so is linked with
the correct libdmapsharing shared library, and that said shared
library includes a variety of dmap_mdns_* symbols.
_______________________________________________
rhythmbox-devel mailing list
rhythmbox-devel gnome org
http://mail.gnome.org/mailman/listinfo/rhythmbox-devel

Sorry, I'm not exactly experienced with this type of thing; the most
advanced thing I've written is a BASH script. How would I do this, looking
at the source code? Hex editor?

To check what shared libraries the daap plugin is linked against:
$ ldd -r /usr/lib/rhythmbox/plugins/daap/libdaap.so

which should include something like:
    libdmapsharing.so.2 =>  /usr/lib/libdmapsharing.so.2 (0x........)

To check that the appropriate symbols appear in libdmapsharing:

$ nm -D /usr/lib/libdmapsharing.so.2 | grep dmap_mdns

which should list about 15 symbols, including dmap_mdns_browser_stop.
ldd -r libdmapsharing.so.2 should also show it being linked with
libavahi-client.so and a few other avahi libraries.

Thank you very much! The first command worked fine and it showed both of those. Here are my results for the second command:

00013170 T dmap_mdns_browser_new
000131b0 T dmap_mdns_browser_start
00013660 T dmap_mdns_publisher_error_quark
00013460 T dmap_mdns_publisher_get_type
00013a10 T dmap_mdns_publisher_new
00013800 T dmap_mdns_publisher_publish
000136a0 T dmap_mdns_publisher_set_name
000137a0 T dmap_mdns_publisher_set_password_required
00013720 T dmap_mdns_publisher_set_type_of_service
000139d0 T dmap_mdns_publisher_withdraw

Only about 10, not 15 like you said. I tried re-compiling and re-installing libdmapsharing 2.0 but the plugin still won't enable.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]