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.
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).