Solved any way to fix libgtk3 breakage for SOME ports

atril, firefox, and various others no longer run with

ld-elf.so.1: /usr/local/lib/libgtk-3.so.0: Undefined symbol "g_string_free_and_steal"

Just posting in case anyone else is encountering the same and has time [vs here] to check what the
problem may be. [ I have not tried building gtk3 locally because of its many build dependencies that
are not installed ]
 
Which version of FreeBSD, exactly?

Packages of ports from quarterly, or latest?

freebsd-version -kru ; uname -aKU

pkg -vv | grep -e url -e enabled -e priority
 
Just upgraded from source [ today ] buildkernel and world [ today ] and atril and firefox have the same library error.

chrome and
iridium won't start with combined dbus [failed to connect to dbus socket ] and libatk [a similar library error ] pair
of errors for each

Ohterwise the upgrade went as expected, except three browserrs not working is inconvenient.
Now on 13.3
 
Try :
Code:
git clone -b releng/14.0 https://github.com/freebsd/freebsd-src.git /usr/src
What is the output of your:
Code:
#!/usr/local/bin/bash
cat /usr/src/sys/conf/newvers.sh | egrep "TYPE|BRANCH|REVISION"
It should be
Code:
REVISION="14.0"
BRANCH="RELEASE-p6"
 
Per your CLI, I am on STABLE-13.3 ..
rednotebook also has a library error [ a 3rd one, gobject vs libgtk or libatk ] ]
evolution
satty also have libgtk3 libgtk4 errors

Puzzling because I thought the build both world;kernel install both world;kernel would fix them. maybe if I built all those
ports from the ports tree...

edit:
build from source errors:
gtk30 gtk40 gobject-introspection firefox...
 
g_string_free_and_steal is a function in glib. Try reinstalling glib and gtk3.
Code:
# pkg install -f glib gtk3
# pkg set -A 1 glib gtk3
Sorry if you already tried that.
 
Laregly solved. Thanks! I had glib locked and reverting and resinstalling that port fixed A WHOLE LOT including
seamonkey [evolution, atril-lite have icon loading errors and won't run, but that is another thread... ] and the other
browsers.
 
atril fixed! evolution also ...

exec /usr/local/bin/gdk-pixbuf-query-loaders --update-cache

[ found on askubuntu.com, one of ten or so in-thread suggestions ]
 
Back
Top