[bug-notifications] [geoip 0004782]: Please remove static library

Mantis Bug Tracker noreply at opencsw.org
Mon Jun 27 17:26:53 CEST 2011


The following issue has been ASSIGNED. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=4782 
====================================================================== 
Reported By:                dam
Assigned To:                bonivart
====================================================================== 
Project:                    geoip
Issue ID:                   4782
Category:                   packaging
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             2011-06-08 13:06 CEST
Last Modified:              2011-06-27 17:26 CEST
====================================================================== 
Summary:                    Please remove static library
Description: 
Please remove static libraries from the development package as it breaks
the build for wireshark:


configure:23697: checking for GeoIP_new in -lGeoIP
configure:23722: /opt/SUNWspro/bin/cc -o conftest -D_U_="" -xO3 -m32
-xarch=v8 -I/opt/csw/include -D_REENTRANT -D_PTHREADS
-D_POSIX_PTHREAD_SEMANTICS -DXTHREADS -DXUSE_MTSAFE_API
-I/opt/csw/include/gtk-2.0 -I/opt/csw/lib/gtk-2.0/include
-I/opt/csw/include/atk-1.0 -I/opt/csw/include/cairo
-I/opt/csw/include/pango-1.0 -I/opt/csw/include/glib-2.0
-I/opt/csw/lib/glib-2.0/include -I/opt/csw/include/pixman-1
-I/opt/csw/include/freetype2 -I/opt/csw/include -I/opt/csw/include/libpng12
  -I/opt/csw/include -I/opt/csw/include -I/opt/csw/include
-I/opt/csw/include -I/opt/csw/include -I/opt/csw/include -m32 -xarch=v8
-L/opt/csw/lib -L/opt/csw/lib -R/opt/csw/lib -L/opt/csw/lib -R/opt/csw/lib
conftest.c -lGeoIP  -lz  >&5
"conftest.c", line 90: warning: statement not reached
Undefined                       first referenced
 symbol                             in file
gethostbyname_r                     /opt/csw/lib/libGeoIP.a(GeoIP.o)
getaddrinfo                         /opt/csw/lib/libGeoIP.a(GeoIP.o)
freeaddrinfo                        /opt/csw/lib/libGeoIP.a(GeoIP.o)
inet_addr                           /opt/csw/lib/libGeoIP.a(GeoIP.o)
inet_pton                           /opt/csw/lib/libGeoIP.a(GeoIP.o)
inet_ntop                           /opt/csw/lib/libGeoIP.a(GeoIP.o)
ld: fatal: Symbol referencing errors. No output written to conftest

It should better be linked dynamically anyway.
======================================================================



More information about the bug-notifications mailing list