Mantis - geoip
Viewing Issue Advanced Details
4782 packaging minor have not tried 2011-06-08 13:06 2011-06-29 14:33
dam  
bonivart  
normal  
closed  
fixed  
none    
none  
0004782: Please remove static library
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.
Issue History
2011-06-08 13:06 dam New Issue
2011-06-27 17:26 bonivart Status new => assigned
2011-06-27 17:26 bonivart Assigned To => bonivart
2011-06-27 17:27 bonivart Note Added: 0009142
2011-06-29 14:33 bonivart Note Added: 0009164
2011-06-29 14:33 bonivart Status assigned => closed
2011-06-29 14:33 bonivart Resolution open => fixed

Notes
(0009142)
bonivart   
2011-06-27 17:27   
Please test:

http://buildfarm.opencsw.org/experimental.html#geoip [^]
(0009164)
bonivart   
2011-06-29 14:33   
Released to future/unstable.