| Summary: | liba2ps.so: atan2 undefined (forgot -lm when building) | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | John Reiser <jreiser> |
| Component: | a2ps | Assignee: | Tim Waugh <twaugh> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 17 | CC: | pertusus, twaugh |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | a2ps-4.14-15.fc17 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-12-03 17:53:36 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Additional piece that is needed to confirm this is a bug: $ ldd /lib*/liba2ps.so.1 linux-vdso.so.1 => (0x00007fffac58b000) libc.so.6 => /lib64/libc.so.6 (0x0000003d97400000) /lib64/ld-linux-x86-64.so.2 (0x0000003d97000000) which does not include libmath (-lm). |
Description of problem: The symbol 'atan2' is undefined in $libdir/liba2ps.so.1. This will cause an application crash if referenced. Version-Release number of selected component (if applicable): a2ps-4.14-14.fc17.x86_64 How reproducible: every time Steps to Reproduce: 1. readelf --symbols /lib*/liba2ps.so.* | grep atan2 2. 3. Actual results: 24: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND atan2 Expected results: No unresolved symbols Additional info: Fix is: add "-lm" to the libraries when building liba2ps.so.1.