[bug-notifications] [geoip 0004782]: Please remove static library
Mantis Bug Tracker
noreply at opencsw.org
Wed Jun 29 14:33:28 CEST 2011
The following issue has been CLOSED
======================================================================
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: closed
Resolution: open
Fixed in Version:
======================================================================
Date Submitted: 2011-06-08 13:06 CEST
Last Modified: 2011-06-29 14:33 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.
======================================================================
----------------------------------------------------------------------
(0009164) bonivart (manager) - 2011-06-29 14:33
https://www.opencsw.org/mantis/view.php?id=4782#c9164
----------------------------------------------------------------------
Released to future/unstable.
More information about the bug-notifications
mailing list