Closed tataDan closed 2 years ago
The issue seems to be with the version of libc you're using. I'm not terribly familiar with the varieties out there, but I know there are some differences. So far, I've only built the linux version on Ubuntu and PopOS. I would think Debian would be very similar, though.
You may want to try using the go-glfw stuff by itself to see if the issue exists with that, too. If it does, they may have some insight as to why.
Doing some google searches indicates that __libc_single_threaded
isn't available until libc 2.32. Perhaps you're somehow linking against an old version?
Unfortunately, Debian 11 uses libc 2.31. Using a live version of Ubuntu 22.04, I was able to successfully run the example program.
Thank you for your quick response.
I'm going to close this. You can likely work around it for your platform by checking out my cskia
project and building your own version of the skia library for your platform. That way you'd get your older version of libc being linked against.
I am running Debian 11. I have installed both
libgl1-mesa-dev
andxorg-dev
. I am usinggo1.19
. I can rungcc
successfully from a terminal.When I run
go run example/main.go
, I get the follow error message:Any assistance in resolving this issue would be appreciated.