Ticket #144 (assigned defect)

Opened 5 years ago

Last modified 5 years ago

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

Reported by: herzi Owned by: lennart
Milestone: Component: avahi-glib
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

Changed 5 years ago 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.

Changed 5 years ago by lennart

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

Note: See TracTickets for help on using tickets.