Description of problem: ipcalc doesn't require or recommend libmaxminddb, which is needed to make the `--geoinfo` flag work. Version-Release number of selected component (if applicable): ipcalc-0.2.4-2.fc29.x86_64 How reproducible: always Steps to Reproduce: 1. ipcalc -g 8.8.8.8 Actual results: ipcalc: could not open /usr/lib64/libmaxminddb.so.0 Expected results: COUNTRYCODE=US COUNTRY="United States" COORDINATES="37.751000,-97.822000" Additional info: I can see in the spec file that libmaxminddb-devel is a build requirement, so I'm surprised that a dependency on libmaxminddb.so.0 wasn't added automatically.
The dependency is not added automatically because it is dlopened (intentionally so ipcalc can work in smaller installations too). I've added libmaxmind recommends to the spec and sent a new build.
ipcalc-0.2.4-3.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-8f99cf75e8
ipcalc-0.2.4-3.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-8f99cf75e8
The update adds the recommends for libmaxminddb, but it removes the existing recommends for geolite2-city and geolite2-country. Upgrading users will get libmaxminddb, geolite2-city, and geolite2-country installed, but fresh installs will only get libmaxminddb. This doesn't work. With libmaxminddb, geolite2-city, and geolite2-country: $ ipcalc -g 8.8.8.8 COUNTRYCODE=US COUNTRY="United States" COORDINATES="37.751000,-97.822000" With just libmaxminddb: $ ipcalc -g 8.8.8.8 (no output) Please set the recommends to libmaxminddb, geolite2-city, and geolite2-country.
I'd have expected libmaxminddb to recommend these, but since that's not the case, I'll add it here.
ipcalc-0.2.4-4.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-0747e604d2
ipcalc-0.2.4-4.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-0747e604d2
ipcalc-0.2.4-4.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.