Ticket #144 (assigned defect)

Opened 1 year ago

Last modified 1 year ago

avahi-glib.pc needs to depend on avahi-client.pc

Reported by: herzi Assigned to: lennart (accepted)
Priority: minor Milestone:
Component: avahi-glib Version:
Keywords: Cc:

Description

nm -D --undefined-only /usr/lib/libavahi-glib.so shows that the lib uses symbols from libavahi-common.so. As -lavahi-common is specified in avahi-client.pc, avahi-glib.pc has to depend on avahi-client.pc

Change History

06/02/07 12:16:04 changed by lennart

  • priority changed from major to minor.
  • status changed from new to assigned.
  • component changed from avahi-core to avahi-glib.

Meister, nicht ganz richtig!

avahi-glib can be used both in conjunction with avahi-core and with avahi-client. However, avahi-client and avahi-core are exclusive to each other. The two pc files of avahi-client and avahi-core include -lavahi-common -- there is no seperate pc file for avahi-common! Adding -lavahi-commmon to avahi-glib as well, would result in having -lavahi-common show up twice in $LIBS. Using avahi-glib without either avahi-core or avahi-client doesn't any anyway.

I am not sure if this bug can be fixed without making things unnecessary complex (i.e. by adding a seperate avahi-common.pc). Thus I am not sure if we should fix this at all.

06/02/07 12:16:59 changed by lennart

a "make any sense" is missing in my previous comment. Place it wherever you like.