diamondburned / dissent

Tiny native Discord app
https://flathub.org/apps/details/so.libdb.dissent
GNU General Public License v3.0
1.3k stars 41 forks source link

undefined symbol: g_task_set_static_name #133

Closed ravener closed 9 months ago

ravener commented 1 year ago

I'm on Ubuntu MATE 22.04 LTS and running gtkcord gives me:

$ ./gtkcord4
./gtkcord4: symbol lookup error: ./gtkcord4: undefined symbol: g_task_set_static_name

Latest release suffered from issue #116 so I downloaded the latest nightly build and I get this now.

diamondburned commented 1 year ago

Uh oh, seems like this is because of the version bump. This is only available since Gio 2.76, but I'm not sure why gtkcord4 is needing it. gotk4 itself is generated against Gio 2.68, so it shouldn't directly be pulling this.

You might have to build the binary yourself.

nbuechner commented 1 year ago

Building it myself on Ubuntu 22.04 seems also impossible because of the needed library versions. I get the same error on the binary release.

diamondburned commented 1 year ago

Building it myself on Ubuntu 22.04 seems also impossible because of the needed library versions.

The needed library versions for building is still the same. It's the libraries that the binary was built with that determines which version is needed at its runtime. Building it yourself against the older libraries should still work normally.

Blackilykat commented 1 year ago

Building it using go install -v github.com/diamondburned/gtkcord4@latest and then running it gives me this error. Using Debian 12

Joao620 commented 9 months ago

Building it using go install -v github.com/diamondburned/gtkcord4@latest and then running it gives me this error. Using Debian 12

I was having this issue, but after building myself worked fine. Can you run apt list -a libadwaita-1-0?

diamondburned commented 9 months ago

Closing this since it seems to be a user environment issue. If this still doesn't work, try using the Flatpak.