Should link it dinamically by default instead.
Not sure if it's using the bundled libopts or linking statically to that one, too.
We don't have tcpreplace package. My guess is this bug is about tcpreplay.
This issue should be fixed in tcpreplay-3.4.1. Thank you for report.