[libxml2_dev 0005130]: missing lib -lz in libxml-2.0.pc

Mantis Bug Tracker via bug-notifications bug-notifications at lists.opencsw.org
Thu Dec 12 10:54:12 CET 2013


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

======================================================================



More information about the bug-notifications mailing list