dissent icon indicating copy to clipboard operation
dissent copied to clipboard

Error while loading shared libraries

Open zJuack opened this issue 3 years ago • 5 comments

./gtkcord4: error while loading shared libraries: libgtk-4.so.1: cannot open shared object file: No such file or directory

Downloaded binaries and then tried to ./gtkcord4 after doas chmod +x gtkcord4 Debian 11 on XFCE4

zJuack avatar May 20 '22 02:05 zJuack

Missing gtk4 dependency.

diamondburned avatar May 20 '22 20:05 diamondburned

I already have all the gtk4 dependencies

zJuack avatar May 20 '22 22:05 zJuack

Try building your own binary, then. I'm not too sure what's going on.

diamondburned avatar May 21 '22 05:05 diamondburned

I was able build and run on mac using the following homebrew package

class Gtkcord < Formula
  desc "Gtk3 Discord client"
  homepage "https://github.com/diamondburned/gtkcord4"
  url "https://github.com/diamondburned/gtkcord4/archive/refs/tags/v0.0.2.tar.gz"
  sha256 "bca33768dfd7695cfc8e16e6d0ff0f627b23ae47065cf04e461ef41fcdcf30f5"
  license "GPLv3"

  depends_on "go" => :build
  depends_on "gtk4"
  depends_on "gobject-introspection"
  depends_on "libcanberra"

  def install
    system "go", "build", *std_go_args(ldflags: "-s -w")
  end
end

hybras avatar May 21 '22 17:05 hybras

Builded the binary, still doesnt work

zJuack avatar May 22 '22 00:05 zJuack