Summary: | net-misc/ipv6calc-0.96.0 USE=geoip with dev-libs/geoip-? - libipv6calc_db_wrapper_GeoIP.c:(.text+0xf7): undefined reference to `GeoIP_cleanup' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Drunkard Zhang <gongfan193> |
Component: | Current packages | Assignee: | Peter Volkov (RETIRED) <pva> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | blueness, bman, proxy-maint |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 372079 | ||
Attachments: | build log |
Description
Drunkard Zhang
2014-02-19 03:58:28 UTC
Which version of dev-libs/geoip is that? (In reply to Jeroen Roovers from comment #1) > Which version of dev-libs/geoip is that? Its a problem in the build system. The -lGeoIP should come *after* -L../databases/lib/. Ie, this line: x86_64-pc-linux-gnu-gcc -o ipv6calc ipv6calc.o showinfo.o ipv6calchelp_local.o ../getopt/getopt.o ../getopt/getopt1.o ../md5/md5.o -Wl,-O1 -Wl,--as-needed -lGeoIP -L../lib/ -L../databases/lib/ -lipv6calc -lipv6calc_db_wrapper -lm shoud read x86_64-pc-linux-gnu-gcc -o ipv6calc ipv6calc.o showinfo.o ipv6calchelp_local.o ../getopt/getopt.o ../getopt/getopt1.o ../md5/md5.o -Wl,-O1 -Wl,--as-needed -L../lib/ -L../databases/lib/ -lipv6calc -lipv6calc_db_wrapper -lm -lGeoIP I'll get it. Okay this should be fixed. Please test net-misc/ipv6calc-0.96.0. No revbump since this was a compile time error. And reopen if this is still an issue. |