[This is continued from Bug 47. which I filed a few days ago. For some reason (maybe because I submitted it anonymously, without an account), I can't comment on that report, so I'm making this so I can answer questions asked and continue the conversation. I'd appreciate it if someone could make a comment on the original linking here.]
I can confirm this happens occasionally on Ubuntu with the XFCE desktop environment. It often fixes itself eventually (maybe after a reboot or apt-get dist-upgrade?), though.
Unfortunately, that does not seem to be the case on my system. It's been weeks at least, and despite several reboots and system updates (I run pacman -Syyu; yay --aur -Syyu religiously), that problem persists.
Which version of wxWidgets are you using? Try the latest stable release (3.0.4) and if that still doesn't work try the latest development release (3.1.2).
I've been using version 3.0.4, as provided by the wxgtk2 package. I make sure to keep all of my packages up-to-date.
wxgtk2 "provides" wxgtk, which is what the packaged version of golly on the AUR depends on. But the package wxgtk-git also "provides" wxgtk, so on this advice I switched to it. It implements version 3.1.3 (not 3.1.2) of wxWidgets on gtk3.
Unfortunately, that doesn't work; the packaged version of golly looks for version 3.0 of wxWidegets (despite the fact that pacman thought all dependencies were satisfied):
golly: error while loading shared libraries: libwx_gtk2u_html-3.0.so.0: cannot open shared object file: No such file or directory
I tried setting up some symbolic links to trick golly into thinking it had the right versions, but it wasn't fooled; it really does demand version 3.0:
golly: /usr/lib/libwx_baseu_net-3.0.so.0: version `WXU_3.0' not found (required by golly)
golly: /usr/lib/libwx_gtk2u_adv-3.0.so.0: version `WXU_3.0' not found (required by golly)
golly: /usr/lib/libwx_gtk2u_gl-3.0.so.0: version `WXU_3.0' not found (required by golly)
golly: /usr/lib/libwx_baseu-3.0.so.0: version `WXU_3.0' not found (required by golly)
golly: /usr/lib/libwx_gtk2u_html-3.0.so.0: version `WXU_3.0' not found (required by golly)
golly: /usr/lib/libwx_gtk2u_core-3.0.so.0: version `WXU_3.0' not found (required by golly)
Do I need to be using the development version of golly or something to make this work with the development version of wxgtk? Because the version on AUR definitely needs 3.0 of wxWidgets.
Make sure you can build and run the opengl samples included with wxGTK. If they work then Golly should work.
I can make and execute the samples for both 3.0.4 and 3.1.3.
Note
wxgtk2andwxgtk3both provide wxWidgets 3.0.4; the difference is that they are built against GTK 2 and 3 respectively.The binary golly distribution (which you can download from SourceForge) is built against GTK 2, so if you want to use that one, you need to install
wxgtk2. The source distribution can be built against either one, which is why thegollyAUR package depends on justwxgtk.On Arch linux, I would suggest installing the AUR package (which will probably pull in
wxgtk2by default). If that doesn't work, that's a separate problem to be solved; I don't think the solution is to switch to the binary distribution instead.Please don't rename/symlink libraries in the root filesystem; that's likely to create other problems in the future, and, as you noticed, it usually doesn't work anyway. It's almost certainly the wrong solution to your problem.