[MacPorts] #61325: unbound @1.12.0_1: Undefined symbols "_arc4random_uniform"
MacPorts
noreply at macports.org
Thu Oct 15 12:14:40 UTC 2020
#61325: unbound @1.12.0_1: Undefined symbols "_arc4random_uniform"
--------------------------+----------------------
Reporter: chrstphrchvz | Owner: nerdling
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.3
Keywords: | Port: unbound
--------------------------+----------------------
On macOS 10.6, `unbound` incorrectly detects `arc4random_uniform()` when
configuring, even though it is only present on macOS 10.7 and later:
{{{
checking for arc4random_uniform... yes
}}}
This causes error when linking:
{{{
Undefined symbols for architecture x86_64:
"_arc4random_uniform", referenced from:
_ub_random_max in random.o
ld: symbol(s) not found for architecture x86_64
}}}
`unbound` appears to contain an implementation of `arc4random_uniform()`
that it could use instead on macOS 10.6 and earlier.
--
Ticket URL: <https://trac.macports.org/ticket/61325>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list