Followed the link gobject-2.0-0 not able to load on macbook but get a new issue.
Had the same issue where it could not find the file but had to use
sudo ln -s /opt/homebrew/opt/glib/lib/libgobject-2.0.0.dylib /usr/local/lib/gobject-2.0-0
using /lib/gobject-2.0 in link above did not seem to work. Now I get this issue though.
OSError: cannot load library '/usr/local/lib/gobject-2.0-0': dlopen(/usr/local/lib/gobject-2.0-0, 0x0002): tried: '/usr/local/lib/gobject-2.0-0' (mach-o file, but is an incompatible architecture (have (arm64), need (x86_64))), '/opt/homebrew/Cellar/glib/2.74.6/lib/libgobject-2.0.0.dylib' (mach-o file, but is an incompatible architecture (have (arm64), need (x86_64)))
Not sure what to do.