[libxml2_dev 0005130]: missing lib -lz in libxml-2.0.pc
The following issue has been CLOSED == 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: closed Resolution: open Fixed in Version: == Date Submitted: 2013-12-12 10:54 CET Last Modified: 2014-02-14 15:55 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 == -- (0010665) cgrzemba (developer) - 2013-12-12 15:31 https://www.opencsw.org/mantis/view.php?id=5130#c10665 -- you can close the issue. The problem was some where outside.
[libxml2_dev 0005130]: missing lib -lz in libxml-2.0.pc
The following issue has been SUBMITTED. == https://www.opencsw.org/mantis/view.php?id=5130 == Reported By:cgrzemba Assigned To: == Project:libxml2_dev Issue ID: 5130 Category: regular use Reproducibility:always Severity: minor Priority: normal Status: new == Date Submitted: 2013-12-12 10:54 CET Last Modified: 2013-12-12 10:54 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 ==
[libxml2_dev 0005130]: missing lib -lz in libxml-2.0.pc
The following issue has been ASSIGNED. == 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: assigned == Date Submitted: 2013-12-12 10:54 CET Last Modified: 2013-12-12 14:22 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 ==
[libxml2_dev 0005130]: missing lib -lz in libxml-2.0.pc
The following issue requires your FEEDBACK. == 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:23 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 == -- (0010662) dam (administrator) - 2013-12-12 14:23 https://www.opencsw.org/mantis/view.php?id=5130#c10662 -- Hi Carsten, I cannot reproduce the issue: dam@unstable10s [unstable10s]:/home/dam ldd -r /opt/csw/lib/libxml2.so libpthread.so.1 = /lib/libpthread.so.1 libz.so.1 = /opt/csw/lib/sparcv8plus+vis/libz.so.1 liblzma.so.5 = /opt/csw/lib/sparcv8/liblzma.so.5 libiconv.so.2 = /opt/csw/lib/sparcv8/libiconv.so.2 libm.so.2 = /lib/libm.so.2 libsocket.so.1 =/lib/libsocket.so.1 libnsl.so.1 = /lib/libnsl.so.1 libc.so.1 = /lib/libc.so.1 libmp.so.2 =/lib/libmp.so.2 libmd.so.1 =/lib/libmd.so.1 libscf.so.1 = /lib/libscf.so.1 libdoor.so.1 = /lib/libdoor.so.1 libuutil.so.1 = /lib/libuutil.so.1 libgen.so.1 = /lib/libgen.so.1 /platform/SUNW,SPARC-Enterprise-T5220/lib/libc_psr.so.1 /platform/SUNW,SPARC-Enterprise-T5220/lib/libmd_psr.so.1 unstable10x% ldd -r /opt/csw/lib/libxml2.so libpthread.so.1 = /lib/libpthread.so.1 libz.so.1 = /opt/csw/lib/pentium_pro+mmx/libz.so.1 liblzma.so.5 = /opt/csw/lib/i386/liblzma.so.5 libiconv.so.2 = /opt/csw/lib/i386/libiconv.so.2 libm.so.2 = /lib/libm.so.2 libsocket.so.1 =/lib/libsocket.so.1 libnsl.so.1 = /lib/libnsl.so.1 libc.so.1 = /lib/libc.so.1 libmp.so.2 =/lib/libmp.so.2 libmd.so.1 =/lib/libmd.so.1 libscf.so.1 = /lib/libscf.so.1 libdoor.so.1 = /lib/libdoor.so.1 libuutil.so.1 = /lib/libuutil.so.1 libgen.so.1 = /lib/libgen.so.1 That means the library is self-contained and shouldn't need an explicit -lz in pkgconfig,
[libxml2_dev 0005130]: missing lib -lz in libxml-2.0.pc
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:37 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 == -- (0010663) cgrzemba (developer) - 2013-12-12 14:37 https://www.opencsw.org/mantis/view.php?id=5130#c10663 -- you are right, the core of the problem is the different content of /usr/lib/libz.so and /opt/csw/lib/libz.so But how can I say gcc he has to prefer the lib /opt/csw/lib/libz.so?
[libxml2_dev 0005130]: missing lib -lz in libxml-2.0.pc
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?
[libxml2_dev 0005130]: missing lib -lz in libxml-2.0.pc
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 15:31 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 == -- (0010665) cgrzemba (developer) - 2013-12-12 15:31 https://www.opencsw.org/mantis/view.php?id=5130#c10665 -- you can close the issue. The problem was some where outside.