bohonghuang / cl-gtk4

GTK4/Libadwaita/WebKit2 bindings for Common Lisp.
GNU Lesser General Public License v3.0
215 stars 9 forks source link

Typelib file for namespace 'Gtk', version '4.0' not found #47

Open bigos opened 1 year ago

bigos commented 1 year ago

New error has appeared today on one on my computers:


Error while trying to load definition for system cl-gtk4 from
pathname
/home/jacek/quicklisp/dists/ultralisp/software/bohonghuang-cl-gtk4-20231024143206/cl-gtk4.asd:

   Typelib file for namespace 'Gtk', version '4.0' not found
   [Condition of type ASDF/FIND-SYSTEM:LOAD-SYSTEM-DEFINITION-ERROR]
bigos commented 1 year ago

https://github.com/kozec/syncthing-gtk/issues/462

Could this be related?

I use Linux Mint.

bigos commented 1 year ago

Possibly I have missing package: gir1.2-gnomedesktop-4.0

bigos commented 1 year ago

Installing gir1.2-gnomedesktop-4.0 revealed another problem. In the end, I had to install the missing library libgtk-4-dev, which pulled all the needed dependencies.

bohonghuang commented 1 year ago

In this situation, usually you just need to check if the GIR library corresponding to the version exists in the /usr/lib/girepository-1.0/ directory.