A NOTE has been added to this issue. ====================================================================== https://www.opencsw.org/mantis/view.php?id=5130 ====================================================================== Reported By: cgrzemba Assigned To: dam ====================================================================== Project: libxml2_dev Issue ID: 5130 Category: regular use Reproducibility: always Severity: minor Priority: normal Status: feedback ====================================================================== Date Submitted: 2013-12-12 10:54 CET Last Modified: 2013-12-12 14:52 CET ====================================================================== Summary: missing lib -lz in libxml-2.0.pc Description: Some configure steps of evience fail because libxml2 needs to link with libz:
configure:20404: /opt/csw/bin/gcc-4.8 -o conftest -O2 -pipe -m32 -march=pentiumpro -I/opt/csw/include/nautilus -I/opt/csw/include/gnome-vfs-2.0 -I/usr/X11/include -I/usr/openwin/share/include -I/opt/csw/include -m32 -march=pentiumpro -L/opt/csw/lib conftest.c -L/opt/csw/lib -lpoppler-glib -lgio-2.0 -lcairo -lgobject-2.0 -lglib-2.0 -lintl -lxml2 >&5 Undefined first referenced symbol in file gzopen64 /opt/csw/lib/libxml2.so ld: fatal: symbol referencing errors. No output written to conftest please add -lz to libxml-2.0.pc for linking libxml2.so ====================================================================== ---------------------------------------------------------------------- (0010664) dam (administrator) - 2013-12-12 14:52 https://www.opencsw.org/mantis/view.php?id=5130#c10664 ---------------------------------------------------------------------- I removed patch 0003 from your makefile which you meant to work around the issue. This is on unstable10s: configure:20404: checking for poppler_page_get_text_layout configure:20404: /opt/csw/bin/gcc-4.8 -o conftest -O2 -pipe -mcpu=v9 -Wa,-xarch=v8plus -I/opt/csw/include/nautilus -I/opt/csw/include/gnome-vfs-2.0 -I/usr/X11/include -I/ usr/openwin/share/include -I/opt/csw/include -mcpu=v9 -Wa,-xarch=v8plus -L/opt/csw/lib conftest.c -L/opt/csw/lib -lpoppler-glib -lgio-2.0 -lcairo -lgobject-2.0 -lglib-2. 0 -lintl -lxml2 >&5 configure:20404: $? = 0 configure:20404: result: yes This is on unstable10x: configure:20404: checking for poppler_page_get_text_layout configure:20404: /opt/csw/bin/gcc-4.8 -o conftest -O2 -pipe -m32 -march=pentiumpro -I/opt/csw/include/nautilus -I/opt/csw/include/gnome-vfs-2.0 -I/usr/X11/include -I/usr/openwin/share/include -I/opt/csw/include -m32 -march=pentiumpro -L/opt/csw/lib conftest.c -L/opt/csw/lib -lpoppler-glib -lgio-2.0 -lcairo -lgobject-2.0 -lglib-2.0 -lintl -lxml2 >&5 configure:20404: $? = 0 configure:20404: result: yes How can I reproduce the issue?