Date: Fri, 31 Jul 2015 14:27:41 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 202006] textproc/libxml2: xml2-config libs output lists private libraries causing overlinking Message-ID: <bug-202006-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202006 Bug ID: 202006 Summary: textproc/libxml2: xml2-config libs output lists private libraries causing overlinking Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: needs-patch, needs-qa Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: gnome@FreeBSD.org Reporter: koobs@FreeBSD.org Flags: maintainer-feedback?(gnome@FreeBSD.org), merge-quarterly? Assignee: gnome@FreeBSD.org net/asterisk was found to be linking to libiconv.so even after *many* attempts to disable it. Investigation revealed the following xml2-config output as the root cause, evidenced in config.log: LIBXML2_LIB='-L/usr/local/lib -lxml2 -lz -L/usr/local/lib -liconv -lm' libxml2 ships a pkg-config file (libxml-2.0.pc) that correctly doesn't list its private library dependencies in --libs output. Unfortunately, xml2-config does not, returning the full output of the XML_LIBS value provided in the Makefile, derived from ./configure output. This overlinking issue affects any dependent ports that use xml2-config to obtain compile / link flags. -- 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-202006-13>