Unix & Linux Stack Exchange
Q&A for users of Linux, FreeBSD and other Unix-like operating systems
Latest Questions
0
votes
0
answers
39
views
Firefox freezes when using “save as” (glib issue?)
When trying to save anything in Firefox, using “save as” to do so, when the dialog box starts to show up, everything turns gray for a moment and then Firefox freezes permanently. Running firefox on gdb, I receive these error messages: > [Parent 9504, Main Thread] ###!!! ASSERTION: No GSettings schem...
When trying to save anything in Firefox, using “save as” to do so, when the dialog box starts to show up, everything turns gray for a moment and then Firefox freezes permanently.
Running firefox on gdb, I receive these error messages:
> [Parent 9504, Main Thread] ###!!! ASSERTION: No GSettings schemas are installed on the system: ‘glib assertion’, file /builds/worker/checkouts/gecko/toolkit/xre/nsSigHandlers.cpp:184
> (firefox:9504): GLib-GIO-ERROR **: No GSettings schemas are installed on the system
> Thread 1 received signal SIGTRAP, Trace/breakpoint trap.
> g_logv (log_domain=0x7ffff1c42238 “GLib-GIO”, log_level=G_LOG_LEVEL_ERROR, format=, args=args@entry=0x7fffffff9cd8) at gmessages.c:1046
> 1046 gmessages.c: No such file or directory.
Backtrace result:
> #0 g_logv (log_domain=0x7ffff1c42238 “GLib-GIO”, log_level=G_LOG_LEVEL_ERROR, format=, args=args@entry=0x7fffffffa708) at gmessages.c:1046
> #1 0x00007ffff0dc9402 in g_log (log_domain=log_domain@entry=0x7ffff1c42238 “GLib-GIO”, log_level=log_level@entry=G_LOG_LEVEL_ERROR, format=format@entry=0x7ffff1c60cf8 “No GSettings schemas are installed on the system”) at gmessages.c:1079
> #2 0x00007ffff1bfe6b2 in g_settings_set_property (object=, prop_id=, value=0x7fffffffa850, pspec=) at gsettings.c:476
> #3 0x00007ffff12d0a79 in object_set_property (nqueue=0x7fffd7efca10, value=, pspec=0x7fffce9a53c0, object=0x7fffdded6900) at gobject.c:1415
> #4 g_object_new_internal (class=class@entry=0x7fffcd59a6d0, params=params@entry=0x7fffffffa980, n_params=n_params@entry=1) at gobject.c:1808
> #5 0x00007ffff12d24fd in g_object_new_valist (object_type=object_type@entry=140736916656768, first_property_name=first_property_name@entry=0x7ffff1c6087f “schema-id”, var_args=var_args@entry=0x7fffffffaac8) at gobject.c:2034
> #6 0x00007ffff12d27b4 in g_object_new (object_type=140736916656768, first_property_name=0x7ffff1c6087f “schema-id”) at gobject.c:1617
> #7 0x00007ffff551174c in ?? () from /arquivos/Gtk±3.14.0/lib/libgtk-3.so.0
> #8 0x00007ffff5513e50 in ?? () from /arquivos/Gtk±3.14.0/lib/libgtk-3.so.0
> #9 0x00007ffff550f744 in ?? () from /arquivos/Gtk±3.14.0/lib/libgtk-3.so.0
> #10 0x00007ffff12cb385 in g_closure_invoke (closure=0x7fffcdb80c60, return_value=0x0, n_param_values=1, param_values=0x7fffffffae60, invocation_hint=0x7fffffffae00) at gclosure.c:768
> #11 0x00007ffff12dd11c in signal_emit_unlocked_R (node=node@entry=0x7fffcc2fc520, detail=detail@entry=0, instance=instance@entry=0x7fffca161fb0, emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7fffffffae60) at gsignal.c:3553
> #12 0x00007ffff12e5d95 in g_signal_emit_valist (instance=instance@entry=0x7fffca161fb0, signal_id=signal_id@entry=291, detail=detail@entry=0, var_args=var_args@entry=0x7fffffffb030) at gsignal.c:3309
> #13 0x00007ffff12e64aa in g_signal_emit_by_name (instance=0x7fffca161fb0, detailed_signal=0x7ffff5717393 “default-size-changed”) at gsignal.c:3405
> #14 0x00007ffff5518c41 in ?? () from /arquivos/Gtk±3.14.0/lib/libgtk-3.so.0
> #15 0x00007ffff12d350b in object_set_property (nqueue=0x7fffcb20e890, value=0x7fffffffb250, pspec=0x7fffcbad19a0, object=0x7fffca161fb0) at gobject.c:1415
> #16 g_object_set_property (object=0x7fffca161fb0, property_name=, value=0x7fffffffb250) at gobject.c:2363
> #17 0x00007ffff12d0add in object_set_property (nqueue=0x7fffcb20e7c0, value=0x7fffffffb2b0, pspec=0x7fffcbad19a0, object=0x7fffcccd0670) at gobject.c:1415
> #18 g_object_new_internal (class=class@entry=0x7fffcf104f00, params=params@entry=0x7fffffffb390, n_params=n_params@entry=2) —Type to continue, or q to quit— at gobject.c:1828
> #19 0x00007ffff12d24fd in g_object_new_valist (object_type=object_type@entry=140736584521760, first_property_name=first_property_name@entry=0x7ffff56fe920 “title”, var_args=var_args@entry=0x7fffffffb4d8) at gobject.c:2034
> #20 0x00007ffff12d27b4 in g_object_new (object_type=140736584521760, first_property_name=0x7ffff56fe920 “title”) at gobject.c:1617
> #21 0x00007ffff550fac5 in gtk_file_chooser_dialog_new () from /arquivos/Gtk±3.14.0/lib/libgtk-3.so.0
> #22 0x00007fffeec71630 in ?? () from /media/34GB/Arquivos-de-Programas-Linux/firefox/libxul.so
> #23 0x00007fffeec70588 in ?? () from /media/34GB/Arquivos-de-Programas-Linux/firefox/libxul.so
> #24 0x00007fffeabcb16e in ?? () from /media/34GB/Arquivos-de-Programas-Linux/firefox/libxul.so
> #25 0x00007fffeabc97c2 in ?? () from /media/34GB/Arquivos-de-Programas-Linux/firefox/libxul.so
> #26 0x00007fffeabc887b in ?? () from /media/34GB/Arquivos-de-Programas-Linux/firefox/libxul.so
> #27 0x00007fffeac706c0 in ?? () from /media/34GB/Arquivos-de-Programas-Linux/firefox/libxul.so
> #28 0x00007fffeaba671a in ?? () from /media/34GB/Arquivos-de-Programas-Linux/firefox/libxul.so
> #29 0x00007fffeb8bf375 in ?? () from /media/34GB/Arquivos-de-Programas-Linux/firefox/libxul.so
> #30 0x00007fffeaba6304 in ?? () from /media/34GB/Arquivos-de-Programas-Linux/firefox/libxul.so
> #31 0x00007fffeb4a8e6c in ?? () from /media/34GB/Arquivos-de-Programas-Linux/firefox/libxul.so
> #32 0x00007fffeb4a3d7e in ?? () from /media/34GB/Arquivos-de-Programas-Linux/firefox/libxul.so
> #33 0x00007fffeb4a1c95 in ?? () from /media/34GB/Arquivos-de-Programas-Linux/firefox/libxul.so
> #34 0x00007fffec8d0eda in ?? () from /media/34GB/Arquivos-de-Programas-Linux/firefox/libxul.so
> #35 0x00007fffec527b01 in ?? () from /media/34GB/Arquivos-de-Programas-Linux/firefox/libxul.so
> #36 0x00007fffebe31fa9 in ?? () from /media/34GB/Arquivos-de-Programas-Linux/firefox/libxul.so
> #37 0x00007fffebdf20d7 in ?? () from /media/34GB/Arquivos-de-Programas-Linux/firefox/libxul.so
> #38 0x00007fffebdf1198 in ?? () from /media/34GB/Arquivos-de-Programas-Linux/firefox/libxul.so
> #39 0x00007ffff804efa6 in ?? ()
> #40 0x00007ffff6ddae70 in __libc_start_main (main=0x7ffff804ed00, argc=1, argv=0x7fffffffe2e8, init=, fini=, rtld_fini=, stack_end=0x7fffffffe2d8) at libc-start.c:269
> #41 0x00007ffff8062777 in _start ()
user2752471
(265 rep)
Jun 10, 2025, 01:10 AM
• Last activity: Jun 10, 2025, 06:52 AM
0
votes
1
answers
5301
views
GLib-GObject-CRITICAL warning when opening PDF with Evince
I tried to open a PDF using the Evince command, but I received the following message: ```none GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed ``` Can someone help me understand more about this warning message?
I tried to open a PDF using the Evince command, but I received the following message:
GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Can someone help me understand more about this warning message?
MP Creations
(485 rep)
Nov 2, 2019, 09:49 AM
• Last activity: May 9, 2025, 08:00 PM
0
votes
0
answers
75
views
Thunar warning content type loading failed
I'm running a bash script that collates and organises files before turning it into a zip. When I run the script, multiple Thunar 'warnings' and 'critials' pop that I have a hard time figuring out what they are about (see image). This occurs while the script is copying over files. It mentions a Conte...
I'm running a bash script that collates and organises files before turning it into a zip. When I run the script, multiple Thunar 'warnings' and 'critials' pop that I have a hard time figuring out what they are about (see image). This occurs while the script is copying over files.
It mentions a Content type loading error for a strangely named file that I can't place. What generates these warnings?
thunar-WARNING **: 16:45:16.720: Content type loading failed for sedVOTg4r: Error when getting information for file /path/to/file/sedVOTg4r : No such file or directory
GLib-GIO-CRITICAL **: 16:45:16.722: g_file_info_get_attribute_uint32: assertion 'G_IS_FILE_INFO (info)' failed
The script looks as follows:

#!/bin/bash
subj=$1
outBase=$2
echo $subj
echo $outBase
subj_site_list=path/to/scripts/subj_site_list.txt
######### make/check dir structure exists ########
outStudy=${outBase}/Leapeuaims_2
if [[ ! -d "${outStudy}" ]] ; then
mkdir ${outStudy}
fi
## Set matching site collection for the particular subject
site=$(awk -v search="$subj" '{gsub(/^[ \t]+|[ \t]+$/, "");} $1 == search {print $2}' "$subj_site_list" | tr -d '\r')
echo "${subj} is a ${site} participant"
echo
if [ "$site" = "University1" ]; then
outCentre=${outStudy}/University1
elif [ "$site" = "University2" ]; then
outCentre=${outStudy}/University2
elif [ "$site" = "999" ]; then
echo ">> site code 999, skipping subject $subj"
sed --in-place "/$subj/d" ./logfile.txt
echo ">> site code 999, skipping subject $subj" >> logfile.txt
echo
exit
else
echo ">> subject $subj not listed; check for withdrawn consent"
echo
fi
echo "site parameter set to $outCentre"
echo
if [[ ! -d "${outCentre}" ]] ; then
mkdir ${outCentre}
fi
## Make BOLD folder for preprocessed data
BOLD=${outCentre}/BOLD
if [[ ! -d "${BOLD}" ]] ; then
mkdir ${BOLD}
mkdir ${BOLD}/Preprocessed
fi
####### Check what subj data exists/mk dirs and copy over/rename as needed per modality #########
indir=/path/to/subject_data/$subj/
echo "Wrapping contents ${indir}"
echo
#BOLD
if ls $indir/BOLD_data/preprocessing/* 1> /dev/null 2>&1; then
subjbold=${BOLD}/Preprocessed/${subj}
mkdir $subjbold
rsdir=${subjbold}/Resting_state
mkdir $rsdir
echo "adding preprocessed resting state data"
cp -r $indir/BOLD_data/preprocessing/* $rsdir/
echo "done"
echo
else
echo ">> no preprocessed data found for $subj"
echo
sed --in-place "/$subj/d" ./logfile.txt
echo "${subj}: no fMRI data found" >> logfile.txt
fi
LifeIsGood
(1 rep)
Feb 20, 2024, 04:44 PM
• Last activity: Feb 22, 2024, 11:46 AM
9
votes
4
answers
3254
views
GTK FileChooser causes crashes in several programs
I have repeatedly encountered a problem with several programs that use open/save file dialogues. Upon initiating these by trying to open or to save a file, the program freezes for about 10 seconds and then crashes. With `libreoffice` for example, I get the following error message when started from t...
I have repeatedly encountered a problem with several programs that use open/save file dialogues.
Upon initiating these by trying to open or to save a file, the program freezes for about 10 seconds and then crashes. With
libreoffice
for example, I get the following error message when started from terminal:
Error creating proxy: Error calling StartServiceByName for org.gtk.vfs.UDisks2VolumeMonitor: Timeout was reached (g-io-error-quark, 24)
(soffice:1466): GLib-GIO-ERROR **: 19:11:38.289: Settings schema 'org.gtk.Settings.FileChooser' does not contain a key named 'show-type-column'
Fatal exception: Signal 5
Stack:
A stack trace follows.
I have read about a similar problem on AskUbuntu.SE , but the solution (multiple versions of /usr/share/glib-2.0/schemas/org.gtk.Settings.FileChooser.gschema.xml
) does not apply to me.
The file seems to have the appropriate contents (to me). Excerpt about the key mentioned in the error:
true
Show file types
Controls whether the file chooser shows a column with file types.
How do I fix this problem?
Jonas Schwarz
(274 rep)
Oct 31, 2019, 06:26 PM
• Last activity: Jun 11, 2023, 07:28 AM
2
votes
2
answers
1462
views
Compiling against a newer version of glib?
I'm working on a piece of software that needs to compile against a very modern version of glib, but also needs to run on Ubuntu 11.10 (which doesn't come with that version). My first thought was to just backport and replace glib, since the versions are theoretically compatible, but it causes some pr...
I'm working on a piece of software that needs to compile against a very modern version of glib, but also needs to run on Ubuntu 11.10 (which doesn't come with that version). My first thought was to just backport and replace glib, since the versions are theoretically compatible, but it causes some problems (most noticably with Unity not working right).
I know that the obvious solution is to use Ubuntu 12.04, but I don't have that option right now (working on it though).
Is there any sane way to handle this? Right now I'm looking at just compiling glib,
tar
ing it, and then manually setting C_INCLUDE_PATH
and LD_LIBRARY_PATH
. Unfortunately, I don't think I can't even package the compiled library because glib isn't very specific about its version (it's just glib-2.0.so
).
Is the tar
method the best I can do in this situation?
Brendan Long
(562 rep)
Aug 9, 2012, 08:44 PM
• Last activity: Jun 2, 2022, 12:20 PM
2
votes
1
answers
1316
views
glib errors on cygwin
I want to compile and install geany text editor in Windows 7 by using cygwin. I follow the usual way to compile and install C source: ./configure make make install the configure script was successfully running and give me no errors.In the `make` step i have the following errors : ctags.c:23:18: fata...
I want to compile and install geany text editor in Windows 7 by using cygwin.
I follow the usual way to compile and install C source:
./configure
make
make install
the configure script was successfully running and give me no errors.In the
make
step i have the following errors :
ctags.c:23:18: fatal error: glib.h: No such file or directory
#include
I have installed pkg-config and also add the pkg-config output to makefile by doing the
following:
CFLAGS = $(shell pkg-config --cflags glib-2.0)
CXXFLAGS = $(shell pkg-config --cflags glib-2.0)
LIBS = $(shell pkg-config --libs glib-2.0)
This is the output of the pkg-config
$pkg-config --cflags --libs glib-2.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -lglib-2.0 -lintl -lpcre -lintl - liconv -lpcre
$ pkg-config --libs glib-2.0
-lglib-2.0 -lintl -lpcre -lintl -liconv -lpcre
Any idea how to fix this ?
user106624
(21 rep)
Mar 15, 2015, 04:34 AM
• Last activity: Aug 27, 2021, 04:09 AM
1
votes
0
answers
858
views
Error using glib2 from yum: "libgio-2.0.so.0: undefined symbol: g_free"
I am trying to build all of the dependencies for Weasyprint 52.5 for AWS Lambda. Despite being a python library, Weasyprint has a large number of OS dependencies. I'm creating a lambda layer by downloading all of the necessary rpms from yum and extracting the shared libraries. It nearly works but I...
I am trying to build all of the dependencies for Weasyprint 52.5 for AWS Lambda. Despite being a python library, Weasyprint has a large number of OS dependencies.
I'm creating a lambda layer by downloading all of the necessary rpms from yum and extracting the shared libraries. It nearly works but I can't seem to get around this error with libgio.
The OS is Amazon Linux 2, which uses yum for package management and seems to match up with CentOS 7.
This is the yum call command:
yumdownloader libffi pixman freetype fontconfig libglvnd libglvnd-glx libglvnd-egl mesa-libglapi libpng libxcb libXrender libX11 libXext libXau libXdamage libXfixes libXxf86vm expat libuuid libxshmfence libdrm libwayland-client libwayland-server glib2 fribidi libthai harfbuzz graphite2 gdk-pixbuf2 cairo pango
Which pulls these package versions:
cairo-1.15.12-4.amzn2.x86_64
expat-2.1.0-12.amzn2.x86_64
fontconfig-2.13.0-4.3.amzn2.x86_64
freetype-2.8-14.amzn2.1.x86_64
fribidi-1.0.2-1.amzn2.1.x86_64
gdk-pixbuf2-2.36.12-3.amzn2.x86_64
glib2-2.56.1-9.amzn2.0.1.x86_64
graphite2-1.3.10-1.amzn2.0.2.x86_64
harfbuzz-1.7.5-2.amzn2.x86_64
libdrm-2.4.97-2.amzn2.x86_64
libffi-3.0.13-18.amzn2.0.2.x86_64
libglvnd-1.0.1-0.1.git5baa1e5.amzn2.0.1.x86_64
libglvnd-egl-1.0.1-0.1.git5baa1e5.amzn2.0.1.x86_64
libglvnd-glx-1.0.1-0.1.git5baa1e5.amzn2.0.1.x86_64
libpng-1.5.13-8.amzn2.x86_64
libthai-0.1.14-9.amzn2.0.2.x86_64
libuuid-2.30.2-2.amzn2.0.4.x86_64
libwayland-client-1.17.0-1.amzn2.x86_64
libwayland-server-1.17.0-1.amzn2.x86_64
libX11-1.6.7-3.amzn2.0.2.x86_64
libXau-1.0.8-2.1.amzn2.0.2.x86_64
libxcb-1.12-1.amzn2.0.2.x86_64
libXdamage-1.1.4-4.1.amzn2.0.2.x86_64
libXext-1.3.3-3.amzn2.0.2.x86_64
libXfixes-5.0.3-1.amzn2.0.2.x86_64
libXrender-0.9.10-1.amzn2.0.2.x86_64
libxshmfence-1.2-1.amzn2.0.2.x86_64
libXxf86vm-1.1.4-1.amzn2.0.2.x86_64
mesa-libglapi-18.3.4-5.amzn2.0.1.x86_64
pango-1.42.4-4.amzn2.x86_64
pixman-0.34.0-1.amzn2.0.2.x86_64
Running rpmdev-extract to extract the rpms results in these shared libraries:
libcairo-script-interpreter.so.2.11512.0
libcairo.so.2.11512.0
libdrm_amdgpu.so.1.0.0
libdrm_intel.so.1.0.0
libdrm_nouveau.so.2.0.0
libdrm_radeon.so.1.0.1
libdrm.so.2.4.0
libEGL.so.1.1.0
libexpat.so.1.6.0
libffi.so.6.0.1
libfontconfig.so.1.11.1
libfreetype.so.6.14.0
libfribidi.so.0.4.0
libgdk_pixbuf-2.0.so.0.3612.0
libgdk_pixbuf_xlib-2.0.so.0.3612.0
libgio-2.0.so.0.5600.1
libglapi.so.0.0.0
libGLdispatch.so.0.0.0
libglib-2.0.so.0.5600.1
libGL.so.1.7.0
libGLX.so.0.0.0
libgmodule-2.0.so.0.5600.1
libgobject-2.0.so.0.5600.1
libgraphite2.so.3.0.1
libgthread-2.0.so.0.5600.1
libharfbuzz.so.0.10705.0
libkms.so.1.0.0
libpango-1.0.so.0.4200.3
libpangocairo-1.0.so.0.4200.3
libpangoft2-1.0.so.0.4200.3
libpangoxft-1.0.so.0.4200.3
libpixman-1.so.0.34.0
libpng15.so.15
libpng15.so.15.13.0
libthai.so.0.1.6
libuuid.so.1.3.0
libwayland-client.so.0.3.0
libwayland-server.so.0.1.0
libX11.so.6.3.0
libX11-xcb.so.1.0.0
libXau.so.6.0.0
libxcb-composite.so.0.0.0
libxcb-damage.so.0.0.0
libxcb-dpms.so.0.0.0
libxcb-dri2.so.0.0.0
libxcb-dri3.so.0.0.0
libxcb-glx.so.0.0.0
libxcb-present.so.0.0.0
libxcb-randr.so.0.1.0
libxcb-record.so.0.0.0
libxcb-render.so.0.0.0
libxcb-res.so.0.0.0
libxcb-screensaver.so.0.0.0
libxcb-shape.so.0.0.0
libxcb-shm.so.0.0.0
libxcb.so.1.1.0
libxcb-sync.so.1.0.0
libxcb-xevie.so.0.0.0
libxcb-xf86dri.so.0.0.0
libxcb-xfixes.so.0.0.0
libxcb-xinerama.so.0.0.0
libxcb-xinput.so.0.1.0
libxcb-xkb.so.1.0.0
libxcb-xselinux.so.0.0.0
libxcb-xtest.so.0.0.0
libxcb-xvmc.so.0.0.0
libxcb-xv.so.0.0.0
libXdamage.so.1.1.0
libXext.so.6.4.0
libXfixes.so.3.1.0
libXrender.so.1.3.0
libxshmfence.so.1.0.0
libXxf86vm.so.1.0.0
When Weasyprint calls ffi.dlopen("libfontconfig.so.1")
, I get an OSError:
> cannot load library 'libfontconfig.so.1': /opt/lib/libgio-2.0.so.0:
> undefined symbol: g_free
I have tried downgrading some of the key packages to the other versions available on yum, but with no success. Specifically, I have tried downgrading the following:
fontconfig-2.10.95
glib2-2.50.3
cairo-1.14.8
pango-1.40.4
but this results in the same error.
What is causing the undefined symbol error? Is there any workaround that will resolve this error?
----
**UPDATE**
I'm now wondering if this is related to AWS Lambda specifically.
I am building the dependencies on an Amazon2 Docker instance however I cannot replicate the problem in my Docker container. For example, here is my current Dockerfile, run on an Amazon2 EC2 instance:
https://pastebin.com/Kd65URru
Note that this Dockerfile uses a slightly modified version of Weasyprint 52.5 where I've added some extra error logging. I also added some code to force ffi to load libraries specifically from /opt/lib:
https://github.com/Kozea/WeasyPrint/compare/v52.5...MasonryHQ:temp?expand=1
When I build this Docker container, I encounter no errors. However when I zip up my /opt/lib
directory and upload it to Lambda as a layer, I still get the error on Lambda as soon as I try to import Weasyprint. See:
https://sentry.io/share/issue/1d2d824e950346e9bcc368f8abfd01f0/
Is it possible some libraries in Docker are still not loading from /opt/lib despite my changes to Weasyprint? Or is Lambda just behaving differently than the Docker container?
Travis
(111 rep)
Aug 12, 2021, 04:48 PM
• Last activity: Aug 13, 2021, 01:30 PM
0
votes
2
answers
1524
views
How to install glib 1.2 on new system?
I try to install glib 1.2 on Ubiuntu 21.04 to run [old c program][1] [1]: https://github.com/adammaj1/Some-Julia-sets-by-Michael-Becker- After succesfull ./configure --build=i386-linux-gnu --host=i386-linux-gnu I try make with error : ```sh make check Making check in . make[1]: Wejście do katalogu '...
I try to install glib 1.2 on Ubiuntu 21.04 to run old c program
After succesfull
./configure --build=i386-linux-gnu --host=i386-linux-gnu
I try
make
with error :
make check
Making check in .
make[1] : Wejście do katalogu '/home/a/Pobrane/glib-1.2.0'
/bin/sh ./libtool --mode=link gcc -g -O2 -Wall -D_REENTRANT -o libglib.la -rpath /usr/local/lib -version-info 0:0:0 -release 1.2 garray.lo gcache.lo gcompletion.lo gdataset.lo gdate.lo gerror.lo ghash.lo ghook.lo giochannel.lo giounix.lo glist.lo gmain.lo gmem.lo gmessages.lo gmutex.lo gnode.lo gprimes.lo grel.lo gscanner.lo gslist.lo gstrfuncs.lo gstring.lo gtimer.lo gtree.lo gutils.lo
rm -fr .libs/libglib.la .libs/libglib.* .libs/libglib-1.2.*
*** Warning: This library needs some functionality provided by -lc.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
gcc -shared -Wl,-soname -Wl,libglib-1.2.so.0 -o .libs/libglib-1.2.so.0.0.0 garray.lo gcache.lo gcompletion.lo gdataset.lo gdate.lo gerror.lo ghash.lo ghook.lo giochannel.lo giounix.lo glist.lo gmain.lo gmem.lo gmessages.lo gmutex.lo gnode.lo gprimes.lo grel.lo gscanner.lo gslist.lo gstrfuncs.lo gstring.lo gtimer.lo gtree.lo gutils.lo
/usr/bin/ld: gcache.lo: in function `g_bit_nth_lsf':
...
/home/a/Pobrane/glib-1.2.0/glib.h:1560: multiple definition of `g_bit_nth_msf'; garray.lo:/home/a/Pobrane/glib-1.2.0/glib.h:1560: first defined here
/usr/bin/ld: gutils.lo: in function `g_bit_storage':
/home/a/Pobrane/glib-1.2.0/glib.h:1578: multiple definition of `g_bit_storage'; garray.lo:/home/a/Pobrane/glib-1.2.0/glib.h:1578: first defined here
collect2: error: ld returned 1 exit status
make[1] : *** [Makefile:296: libglib.la] Błąd 1
make[1] : Opuszczenie katalogu '/home/a/Pobrane/glib-1.2.0'
make: *** [Makefile:403: check-recursive] Błąd 1
I have googled the error info without result. Is the solution for this ?
========edit===
After glib installation using method by Knud
make
cc -ansi -Wall -g -I /usr/include/glib-1.2 -I /usr/include/gtk-1.2 -I /usr/lib/glib/include -c julia2.c
julia2.c:8:10: fatal error: gtk/gtk.h: Nie ma takiego pliku ani katalogu
8 | #include
| ^~~~~~~~~~~
compilation terminated.
make: *** [makefile:16: julia2.o] Błąd 1
so no errors from compilation. Additional check :
find . -name '*.so.*' -type f -exec file {} \;
./snap/brave/121/.config/BraveSoftware/Brave-Browser/WidevineCdm/4.10.2209.0/_platform_specific/linux_x64/libwidevinecdm.so.sig: data
./snap/brave/120/.config/BraveSoftware/Brave-Browser/WidevineCdm/4.10.2209.0/_platform_specific/linux_x64/libwidevinecdm.so.sig: data
./Pobrane/hplip-3.21.6/.libs/libhpmud.so.0.0.6: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=02c7f5f977604305c3a6d6167f8f87455922a882, not stripped
./Pobrane/hplip-3.21.6/.libs/libhpipp.so.0.0.1: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=46158ce64a378404dc4008aaed0b65f67c4bd4a4, not stripped
./Pobrane/hplip-3.21.6/.libs/libsane-hpaio.so.1.0.0: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=5277f7887124074022671d51263eae68e234588c, not stripped
./Pobrane/hplip-3.21.6/.libs/libhpdiscovery.so.0.0.1: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=3c4d2def464c65586af097c4e06f3c4b13d8b203, not stripped
./Pobrane/hplip-3.21.6/.libs/libhpip.so.0.0.1: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=297d1bea4175bb34ba1b989a4219c12b7c615fe1, not stripped
but ldconfig shows libglib 1.2, 2.0 and 2.4 between 1249 shared libraries
ldconfig -p>s.txt
...
libglibmm_generate_extra_defs-2.4.so.1 (libc6,x86-64) => /lib/x86_64-linux-gnu/libglibmm_generate_extra_defs-2.4.so.1
libglibmm-2.4.so.1 (libc6,x86-64) => /lib/x86_64-linux-gnu/libglibmm-2.4.so.1
libglib-2.0.so.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/libglib-2.0.so.0
libglib-1.2.so.0 (libc6) => /lib/libglib-1.2.so.0
Adam
(1019 rep)
Jul 17, 2021, 12:49 PM
• Last activity: Jul 18, 2021, 12:03 PM
0
votes
1
answers
317
views
Disagreement between glib and gcc after gcc downgrade
I updated my distro a week ago `Linux *** 5.10.41-1-MANJARO x86_64 GNU/Linux` recent *gcc and gcc-lib* version `11.1.0` But need to work with `gcc 10.2.0` and its coworker `gcc-libs 10.2.0` I downgraded `gcc` and `glib` according to this [guide][1] There is no problem with this but other thing get b...
I updated my distro a week ago
Linux *** 5.10.41-1-MANJARO x86_64 GNU/Linux
recent *gcc and gcc-lib* version 11.1.0
But need to work with gcc 10.2.0
and its coworker gcc-libs 10.2.0
I downgraded gcc
and glib
according to this guide
There is no problem with this but other thing get break like *Firefox, Chromium etc*
and it gives the following error
firefox
/usr/lib/firefox/firefox: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/firefox/firefox)
How can I downgrade *gcc* and coworker libs which I think its *glib*
I don't know how to deal with *glib*
sudo downgrade glib-
glib-compile-resources glib-genmarshal glib-mkenums
glib-compile-schemas glib-gettextize
Should I downgrade a *glib* thing belongs to them?
maxemilian
(137 rep)
Jun 13, 2021, 11:34 AM
• Last activity: Jun 14, 2021, 06:39 PM
0
votes
0
answers
234
views
Is it really true that no RedHat fix exists for this High/Important 3-month old glib issue?
## Short version Red Hat Customer Portal lists [CVE-2021-27219](https://access.redhat.com/security/cve/cve-2021-27219) as having a 9.8 out of 10 RedHat CVSS score, that it was published February 4, 2021, more than 3 months ago and that it affects RHEL 8, the newest version. Is there really no fix fo...
## Short version
Red Hat Customer Portal lists [CVE-2021-27219](https://access.redhat.com/security/cve/cve-2021-27219) as having a 9.8 out of 10 RedHat CVSS score, that it was published February 4, 2021, more than 3 months ago and that it affects RHEL 8, the newest version.
Is there really no fix for it out yet?
## Longer version
If I read the above link correctly, the issue affects RHEL 6, 7 and 8 but no fix exists yet. (As opposed to e.g. [CVE-2021-3326](https://access.redhat.com/security/cve/CVE-2021-3326) where a fix was released yesterday).
At the same time, Red Hat's [ubi8/ubi-minimal](https://catalog.redhat.com/software/containers/ubi8/ubi-minimal/5c359a62bed8bd75a2c3fba8) docker image, updated today shows:
> Health Index "A"(green) (This image does not have any unapplied Critical or Important security updates.)
When I upload that image to our [Harbor Registry](https://github.com/goharbor/harbor) , it scans the image and lists it as having CVE-2021-27219 unfixed. Digging into RedHat's own data, it looks like I have to agree with Harbor.
But then I find it highly misleading for RedHat to list the image as having: Health Index "A". Sure there is no *unapplied* fix, because the fix doesn't exist yet, but how can an image be healthy with a 9.8 score unfixed security issue *for 3 months*?
What am I misunderstanding?
Peter V. Mørch
(665 rep)
May 19, 2021, 04:41 PM
• Last activity: May 20, 2021, 11:47 AM
2
votes
1
answers
7746
views
Installation of libglib2.0-dev on Fedora
Recently, I switched from Ubuntu to Fedora. Now, I would like to run the Fedora equivalent to the Ubuntu command `sudo apt-get install libglib2.0-dev` Because when I `cmake` a project (in particular [lcm 1.4.0][1]), the error is `Could NOT find GLib2_glib (missing: GLIB2_GLIB_LIBRARY GLIB2_GLIB_INCL...
Recently, I switched from Ubuntu to Fedora. Now, I would like to run the Fedora equivalent to the Ubuntu command
sudo apt-get install libglib2.0-dev
Because when I cmake
a project (in particular lcm 1.4.0 ), the error is
Could NOT find GLib2_glib (missing: GLIB2_GLIB_LIBRARY GLIB2_GLIB_INCLUDE_DIR GLIB2_GLIBCONFIG_INCLUDE_DIR)
Thank you!
datahaki
(123 rep)
May 5, 2021, 07:43 AM
• Last activity: May 5, 2021, 07:53 AM
1
votes
1
answers
958
views
How to make a glib app look for "schema" at a different path?
I've built and installed a Glib-2.0-using application to `/opt/myapp`. However, when I run it, it looks for "schema" files under `/usr/share/glib-2.0/schemas`. How can I tell the app to look for schema files elsewhere? Notes: * A runtime solution would be preferable to a compile-time solution. * It'...
I've built and installed a Glib-2.0-using application to
/opt/myapp
. However, when I run it, it looks for "schema" files under /usr/share/glib-2.0/schemas
.
How can I tell the app to look for schema files elsewhere?
Notes:
* A runtime solution would be preferable to a compile-time solution.
* It's nemo 4.8.6, built using meson.
* The distribution is Devuan GNU/Linux Beowulf.
einpoklum
(10753 rep)
Mar 26, 2021, 03:34 PM
• Last activity: Mar 27, 2021, 01:42 AM
0
votes
1
answers
254
views
How to send messages to a window
I've got a hung window "Set Title" in Ubuntu mate-terminal that doesn't react to input. I can move the window, but it doesn't render properly (with text box and "Ok" button), nor can I click the window icon on the top left. I can click the [x] on the top right, but nothing happens for a few seconds...
I've got a hung window "Set Title" in Ubuntu mate-terminal that doesn't react to input. I can move the window, but it doesn't render properly (with text box and "Ok" button), nor can I click the window icon on the top left. I can click the [x] on the top right, but nothing happens for a few seconds until I get a dialog asking whether I want to kill the unresponsive application. I don't want that since it'll terminate all my mate-terminal instances which would make me very sad.
I can still spawn new terminals. Is it possible to send that window a message (WM_CLOSE?) to just go away as if the ESC key had been pressed, and if so, how (I know xprop, but that's just for displaying window properties)? Bonus points if I can do that on the command line, but compiling a simply C program would be ok too.
Thanks.
Weiss Schnee
(1 rep)
Jan 5, 2021, 01:01 PM
• Last activity: Jan 5, 2021, 01:32 PM
8
votes
1
answers
4964
views
how to disable test programs in cross-compiling glib
I've the following errors when trying to cross-compile glib, with the following configuration parameters: ./configure --prefix=$HOME --host=arm-hisiv400-linux checking for growing stack pointer... configure: error: in `/home/aa/Hi3536_SDK_V2.0.4.0/glib-2.50.0': configure: error: cannot run test prog...
I've the following errors when trying to cross-compile glib, with the following configuration parameters:
./configure --prefix=$HOME --host=arm-hisiv400-linux
checking for growing stack pointer... configure: error: in `/home/aa/Hi3536_SDK_V2.0.4.0/glib-2.50.0':
configure: error: cannot run test program while cross compiling
See `config.log' for more details
Is there a way to disable these tests so that my cross-compile process can get through?
rainfrost
(387 rep)
Nov 2, 2016, 07:06 AM
• Last activity: Sep 3, 2020, 08:26 AM
0
votes
1
answers
453
views
Issues with GLIB+Iceweasel+apt-get
I caused the bug but I would like to fix it without doing the amateur "fresh" install. HOW: I copied a bunch of commands and ran them. OS: Debian 8 When I run Iceweasel the following services crash the browser - gmail - facebook Additionally my browser crashes after I input words of a certain length...
I caused the bug but I would like to fix it without doing the amateur "fresh" install.
HOW: I copied a bunch of commands and ran them.
OS: Debian 8
When I run Iceweasel the following services crash the browser
- gmail
- facebook
Additionally my browser crashes after I input words of a certain length into the search bar, the issue won't reproduce today and I haven't saved any logs.
espo@EVA-00:~$ sudo iceweasel
[sudo] password for espo:
(process:2060): GLib-CRITICAL **: g_slice_set_config: assertion >'sys_page_size == 0' failed
console.error:
[CustomizableUI]
Custom widget with id loop-button does not return a valid node
console.error:
[CustomizableUI]
Custom widget with id loop-button does not return a valid node
(gst-plugin-scanner:2146): GStreamer-CRITICAL **: gst_structure_new_empty: >assertion 'gst_structure_validate_name (name)' failed
espo@EVA-00:~$ sudo iceweasel
(process:2161): GLib-CRITICAL **: g_slice_set_config: assertion >'sys_page_size == 0' failed
console.error:
[CustomizableUI]
Custom widget with id loop-button does not return a valid node
console.error:
[CustomizableUI]
Custom widget with id loop-button does not return a valid node
WARNING: content window passed to PrivateBrowsingUtils.isWindowPrivate. Use isContentWindowPrivate instead (but only for frame scripts).
pbu_isWindowPrivate@resource://gre/modules/PrivateBrowsingUtils.jsm:25:14
nsBrowserAccess.prototype.openURI@chrome://browser/content/browser.js:15030:21
espo@EVA-00:~$ iceweasel
(process:2256): GLib-CRITICAL **: g_slice_set_config: assertion >'sys_page_size == 0' failed
My Issue with apt-get is more straightforward.
espo@EVA-00:~$ sudo apt-get install vlc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed.
This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
vlc : Depends: vlc-nox (= 1:2.2.1-dmo12) but it is not going to be installed
Depends: libavcodec56 (>= 10:2.8.4) but 6:11.4-1~deb8u1 is to be installed
Depends: libstdc++6 (>= 5.2) but 4.9.2-10 is to be installed
Depends: libvlccore8 but it is not going to be installed
Depends: libvncclient1 (>= 0.9.10) but it is not installable
Recommends: vlc-plugin-notify (= 1:2.2.1-dmo12) but it is not going >to be installed
E: Unable to correct problems, you have held broken packages.
espo@EVA-00:~$
ingueni
(1 rep)
Jan 25, 2016, 08:09 PM
• Last activity: Aug 21, 2020, 07:48 PM
0
votes
0
answers
387
views
What exactly is the purpose of Gsettings? Do I need this?
Accordingly to the documentation, GSettings is: ``` GSettings are a nice way to manage your application’s settings. Those settings are stored in binary form for fast retrieval, and can be manipulated outside of your application as well using specific tools. ``` That tells me a lot but at the same it...
Accordingly to the documentation, GSettings is:
GSettings are a nice way to manage your application’s settings. Those settings are stored in binary form for fast retrieval, and can be manipulated outside of your application as well using specific tools.
That tells me a lot but at the same it doesn't tell me nothing. Do I need gsettings at all? What apps are using this? What is the difference between gsettings and glib2? What do I have a bunch of schemas for software that I don't even have installed? If I run gsettings list-schemas
I see schemas of apps that are not installed in my computer, that is very annoying.
DDDDDD
(1 rep)
Jul 28, 2020, 06:49 PM
0
votes
1
answers
1752
views
bin/glnxa64/MATLABWindow: symbol lookup error: /lib64/libpango-1.0.so.0: undefined symbol: g_log_structured_standard
I am not sure how to solve this problem in CentOS7: >> cluster_sample MathWorks::System::IUserException [Error using matlab.internal.webwindow (line 310) MATLABWindow application failed to launch. Unable to launch the MATLABWindow application Error in matlab.ui.internal.controller.platformhost.CEFFi...
I am not sure how to solve this problem in CentOS7:
>> cluster_sample
MathWorks::System::IUserException [Error using matlab.internal.webwindow (line 310)
MATLABWindow application failed to launch. Unable to launch the MATLABWindow application
Error in matlab.ui.internal.controller.platformhost.CEFFigurePlatformHost/createView (line 58)
this.CEF = matlab.internal.webwindow(peerModelInfo.URL, peerModelInfo.DebugPort, position);
Error in matlab.ui.internal.controller.FigureController/createView (line 223)
this.PlatformHost.createView(this.PeerModelInfo, pos, title, visible, resizable, windowState);
Error in matlab.ui.internal.componentframework.WebComponentController/add (line 75)
obj.createView( parentController, parentView, map );
Error in matlab.ui.internal.controller.WebCanvasContainerController/add (line 52)
add@matlab.ui.internal.componentframework.WebContainerController( this, webComponent, parentController );
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 93)
component.createController( parentController, [] );]
MathWorks::System::IUserException [Dot indexing is not supported for variables of this type.
Error in matlab.ui.internal.componentframework.services.core.eventhandling.WebEventHandlingService/setProperty (line 199)
obj.ProxyView.PeerNode.setProperties( javaMap );
Error in matlab.ui.internal.controller.WebCanvasContainerController/updateSceneChannel (line 137)
obj.EventHandlingService.setProperty('SceneServer', propValue);
Error in matlab.ui.internal.controller.WebCanvasContainerController/set.Canvas (line 91)
updateSceneChannel(obj);
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 93)
component.createController( parentController, [] );]
>> simulink
Warning: MATLABWindow application failed to launch. Unable to launch the MATLABWindow application
> In sltemplate.ui.StartPage/showWithFallback
In sltemplate.ui.StartPage.show
>> pwd
ans =
'/scratch3/3d_pose/animalpose/leap'
>> cd(matlabroot)
>> pwd
ans =
'/ifs/common/IT/matlab-9.4'
>> ! bin/glnxa64/MATLABWindow
bin/glnxa64/MATLABWindow: symbol lookup error: /lib64/libpango-1.0.so.0: undefined symbol: g_log_structured_standard
>> ! bin/glnxa64/MATLABWindow
bin/glnxa64/MATLABWindow: symbol lookup error: /lib64/libpango-1.0.so.0: undefined symbol: g_log_structured_standard
>>
(base) [jalal@goku animalpose]$ lsb_release -a
LSB Version: :core-4.1-amd64:core-4.1-noarch
Distributor ID: CentOS
Description: CentOS Linux release 7.7.1908 (Core)
Release: 7.7.1908
Codename: Core
(base) [jalal@goku animalpose]$ uname -a
Linux goku.bu.edu 3.10.0-1062.4.3.el7.x86_64 #1 SMP Wed Nov 13 23:58:53 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Mona Jalal
(119 rep)
Dec 4, 2019, 07:04 AM
• Last activity: May 18, 2020, 09:10 AM
1
votes
1
answers
535
views
In Arch, web browsers crash when opening file finder dialogue window
I recently update my Arch, and I am currently running kernel version 5.6.6-arch1-1. When I try to open a file finder window either from Firefox or from Chrome (e.g. uploading an email attachment), both browsers crash. The error given in Firefox is: (firefox:3606): GLib-GIO-ERROR **: 19:32:17.971: Se...
I recently update my Arch, and I am currently running kernel version 5.6.6-arch1-1. When I try to open a file finder window either from Firefox or from Chrome (e.g. uploading an email attachment), both browsers crash. The error given in Firefox is:
(firefox:3606): GLib-GIO-ERROR **: 19:32:17.971: Settings schema 'org.gtk.Settings.FileChooser' does not contain a key named 'show-type-column'
ExceptionHandler::GenerateDump cloned child 3841
ExceptionHandler::SendContinueSignalToChild sent continue signal to child
ExceptionHandler::WaitForContinueSignal waiting for continue signal...
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Trace/breakpoint trap (core dumped)
Now, following along with some posts I found online, I discovered that
GLib
searchers for these gtk schemas based on what is in the XDG_DATA_DIRS
environment variable. However, I found that in my case that variable was empty. In my ~/.xinitrc
(not sure if I should do this elsewhere) I added a line
export XDG_DATA_DIRS=/usr/share/:/usr/local/share
And rebooted. However, the error persists and now I am not sure what to do. I ran find -iname org.gtk.Settings.FileChooser /
and the only result is in /usr/share/glib-2.0/schemas/
as it should be. Furthermore, that xml file has a field name show-type-column
so if the system is finding it (which I am not sure of), then everything should be alright.
Does anyone have pointers as to what to do? This is extremely inconvenient so I am all ears
gabe
(141 rep)
Apr 26, 2020, 01:33 AM
• Last activity: Apr 27, 2020, 06:05 PM
5
votes
1
answers
2499
views
How to inspect hidden GIO/GVFS data?
I wish to inspect and edit the binary files in `~/.local/share/gvfs-metadata/`. I would like to know what hidden information these binary files contain because they seem to divert my GTK applications (such as Evince) from default behavior. What tool can I use to inspect and edit these binary files?...
I wish to inspect and edit the binary files in
~/.local/share/gvfs-metadata/
. I would like to know what hidden information these binary files contain because they seem to divert my GTK applications (such as Evince) from default behavior. What tool can I use to inspect and edit these binary files?
By blind experimentation, I have discovered that if I simply delete all the contents of ~/.local/share/gvfs-metadata/
, a GTK application like Evince will resume default behavior, which is nice; but, obviously, this is not the right way to do it. So, what is the right way?
I see lots of commands like gvfs-cat(1) and gvfs-mime(1), but cannot figure out what any of these commands have to do with inspecting or editing the aforementioned hidden information. Even if I could just get a human-readable dump (in XML, or whatever) of the binary files, I'd at least know what question to ask next; but the files just sit there, imperturbable.
Further information: my $XDG_DATA_DIRS
seems to be set to /usr/share/xfce4:/usr/local/share/:/usr/share/:/usr/share
. My OS distribution is probably not relevant, but if it is: I run Debian jessie 8.
thb
(1165 rep)
Oct 19, 2016, 10:56 AM
• Last activity: Dec 10, 2019, 01:48 PM
15
votes
1
answers
36626
views
Gentoo: No package `glib-2.0` found
I have a strange problem when trying to install `dev-lib/gobject-introspection`: >>> Emerging (1 of 9) dev-libs/gobject-introspection-1.42.0 ...... configure: error: Package requirements (glib-2.0 > 2.36.0) were not met: No package `glib-2.0` found I have `dev-libs/glib-2.42.1` installed, but there...
I have a strange problem when trying to install
dev-lib/gobject-introspection
:
>>> Emerging (1 of 9) dev-libs/gobject-introspection-1.42.0
......
configure: error: Package requirements (glib-2.0 > 2.36.0) were not met:
No package glib-2.0
found
I have dev-libs/glib-2.42.1
installed, but there is some strange issue with pkg-config
:
$ pkg-config --modversion glib-2.0
Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing glib-2.0.pc
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found
$ echo $PKG_CONFIG_PATH
$
And looks like there is no glib-2.0.pc
file in /usr/lib/pkgconfig
. There is the file /usr/lib32/pkgconfig/glib-2.0.pc
, but for previous version of glib-2.38.2
Can anybody explain to me, what can be wrong and how can fix this? I've already asked this question on the gentoo forum , but maybe I'll have better luck here.
erthalion
(323 rep)
Jan 31, 2015, 08:32 AM
• Last activity: Jun 19, 2019, 09:55 PM
Showing page 1 of 20 total questions