Date: Wed, 29 Apr 2015 03:56:42 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 199772] math/abacus: linking against shared library fails with missing symbols Message-ID: <bug-199772-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199772 Bug ID: 199772 Summary: math/abacus: linking against shared library fails with missing symbols Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: jbeich@FreeBSD.org It seems unsatisfied references are treated differently between static and shared variants. Stripping all symbols from object files before linking the library *sometimes* helps. $ echo 'int main() { }' | cc -xc -o /dev/null - -L/usr/local/lib -labacus-osi /usr/local/lib/libabacus-osi.so: undefined reference to `ABA_SUB::generateLp()' /usr/local/lib/libabacus-osi.so: undefined reference to `ABA_MASTER::_initializeLpParameters()' /usr/local/lib/libabacus-osi.so: undefined reference to `ABA_MASTER::_printLpParameters()' /usr/local/lib/libabacus-osi.so: undefined reference to `ABA_MASTER::_createLpMasters()' /usr/local/lib/libabacus-osi.so: undefined reference to `ABA_MASTER::_deleteLpMasters()' /usr/local/lib/libabacus-osi.so: undefined reference to `ABA_MASTER::_outputLpStatistics()' /usr/local/lib/libabacus-osi.so: undefined reference to `ABA_MASTER::_setDefaultLpParameters()' The issue existed before ports r384953 i.e., abacus-3.2.b1_4 is also affected. -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-199772-13>