[Bug 199772] math/abacus: linking against shared library fails with missing symbols
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Apr 29 03:56:43 UTC 2015
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 at FreeBSD.org
Reporter: jbeich at 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.
More information about the freebsd-ports-bugs
mailing list