On 2025-02-02, Chaz Kettleson <c...@pyr3x.com> wrote:
> Hello,
>
> Anyone use matterbridge https://github.com/42wim/matterbridge on
> OpenBSD? I'm running 7.6 and attempting to run the pre-built 1.26 binary
> for and get the following:
>
> # ./matterbridge-1.26.0-openbsd-64bit   
> matterbridge-1.26.0-openbsd-64bit:./matterbridge-1.26.0-openbsd-64bit: 
> undefined symbol 'syscall'
> ld.so: matterbridge-1.26.0-openbsd-64bit: lazy binding failed!
> Killed
> Some quick googling leads me to believe this is an issue with go-based
> binaries.
>
> https://forum.exercism.org/t/cli-errror-ld-so-exercism-lazy-binding-failed/8801
>
> Is the expectation to build these from source on the target machine
> despite there being pre-built binaries available?

That binary is compiled with an version of the go compiler that doesn't
handle recent OpenBSD.

This should work and produce a binary in ~/go/bin/matterbridge:

pkg_add go
go install github.com/42wim/matterbridge@latest

If upstream were to regenerate binaries with a newer version of the
compiler it would probably work on some machines but not with newer
Intel CPUs (the version of go in ports has been patched to support
BTCFI; I don't believe that is in upstream versions yet).

-- 
Please keep replies on the mailing list.

Reply via email to