Date: Sat, 03 Jan 2015 19:48:52 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 195743] print/cups-base: undefined reference to `avahi_XXX` Message-ID: <bug-195743-13-IBXMjnWtet@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-195743-13@https.bugs.freebsd.org/bugzilla/> References: <bug-195743-13@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195743 Martin Birgmeier <la5lbtyi@aon.at> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |la5lbtyi@aon.at --- Comment #7 from Martin Birgmeier <la5lbtyi@aon.at> --- Could it be because the cups-client port produces a /usr/local/lib/libcups.so.2 file which links against avahi? /usr/local/lib/libcups.so.2: libssl.so.7 => /usr/lib/libssl.so.7 (0x801675000) libcrypto.so.7 => /lib/libcrypto.so.7 (0x8018e0000) libavahi-common.so.3 => /usr/local/lib/libavahi-common.so.3 (0x801cd5000) libavahi-client.so.3 => /usr/local/lib/libavahi-client.so.3 (0x801ee1000) libm.so.5 => /lib/libm.so.5 (0x8020f0000) libcrypt.so.5 => /lib/libcrypt.so.5 (0x802318000) libz.so.6 => /lib/libz.so.6 (0x802538000) libthr.so.3 => /lib/libthr.so.3 (0x80274e000) libc.so.7 => /lib/libc.so.7 (0x80081f000) libintl.so.8 => /usr/local/lib/libintl.so.8 (0x802973000) libdbus-1.so.3 => /usr/local/lib/libdbus-1.so.3 (0x802b7e000) Also some of the other cups ports produce libraries which reference avahi, e.g., cups-image, cups-filters. Also, doing a 'make' in /usr/ports/print/cups-base produces libcups.* which link against avahi: ... make[1]: stopped in /.../hal/z/SRC/FreeBSD-ports/head/print/cups-base *** Error code 1 Stop. make: stopped in /.../hal/z/SRC/FreeBSD-ports/head/print/cups-base [0]# pushd /usr/tmp/ports/print/cups-base/work/cups-1.7.3 /usr/tmp/ports/print/cups-base/work/cups-1.7.3 /usr/ports/print/cups-base [0]# ldd cups/libcups.so.2 cups/libcups.so.2: libssl.so.7 => /usr/lib/libssl.so.7 (0x801675000) libcrypto.so.7 => /lib/libcrypto.so.7 (0x8018e0000) libavahi-common.so.3 => /usr/local/lib/libavahi-common.so.3 (0x801cd5000) libavahi-client.so.3 => /usr/local/lib/libavahi-client.so.3 (0x801ee1000) libm.so.5 => /lib/libm.so.5 (0x8020f0000) libcrypt.so.5 => /lib/libcrypt.so.5 (0x802318000) libz.so.6 => /lib/libz.so.6 (0x802538000) libthr.so.3 => /lib/libthr.so.3 (0x80274e000) libc.so.7 => /lib/libc.so.7 (0x80081f000) libintl.so.8 => /usr/local/lib/libintl.so.8 (0x802973000) libdbus-1.so.3 => /usr/local/lib/libdbus-1.so.3 (0x802b7e000) [0]# nm cups/libcups.a | egrep ':$|avahi' adminutil.o: array.o: attr.o: auth.o: backchannel.o: backend.o: conflicts.o: custom.o: debug.o: dest.o: U avahi_client_free U avahi_client_new U avahi_record_browser_free U avahi_record_browser_new U avahi_service_browser_free U avahi_service_browser_new U avahi_service_name_join U avahi_simple_poll_free U avahi_simple_poll_get U avahi_simple_poll_iterate U avahi_simple_poll_new U avahi_simple_poll_quit U avahi_simple_poll_set_func dest-job.o: dest-localization.o: dest-options.o: dir.o: emit.o: encode.o: file.o: getdevices.o: getifaddrs.o: getputfile.o: globals.o: http.o: http-addr.o: http-addrlist.o: http-support.o: U avahi_client_free U avahi_client_new U avahi_service_resolver_free U avahi_service_resolver_new U avahi_simple_poll_free U avahi_simple_poll_get U avahi_simple_poll_iterate U avahi_simple_poll_new U avahi_simple_poll_quit U avahi_simple_poll_set_func U avahi_string_list_find U avahi_string_list_get_pair ipp.o: ipp-support.o: langprintf.o: language.o: localize.o: mark.o: md5.o: md5passwd.o: notify.o: options.o: page.o: ppd.o: ppd-cache.o: pwg-media.o: request.o: sidechannel.o: snmp.o: snprintf.o: string.o: tempfile.o: thread.o: transcode.o: usersys.o: util.o: [0]# -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-195743-13-IBXMjnWtet>