/usr/lib/libpango-1.0.so.0: undefined symbol: g_once_init_leave_pointer
alessandro-vulcu-code opened this issue · comments
Hi, I tried to install Howdy on Arch Linux by downloading it from AUR. However, I encountered some dependency issues. When I try to run sudo howdy add
, I get this error:
/usr/lib/libpango-1.0.so.0: undefined symbol: g_once_init_leave_pointer
And when I run sudo howdy test
, I receive the following traceback:
Traceback (most recent call last):
File "/usr/bin/howdy", line 109, in <module>
import cli.test
File "/usr/lib/security/howdy/cli/test.py", line 8, in <module>
import dlib
File "/home/alevulcu/anaconda3/lib/python3.11/site-packages/dlib/__init__.py", line 19, in <module>
from _dlib_pybind11 import *
ImportError: /usr/lib/libpango-1.0.so.0: undefined symbol: g_once_init_leave_pointer
I understand that the problem is related to libpango, but I can't figure out how to fix this. Can someone help me?
Linux distribution: Arch Linux
Howdy version (sudo howdy version
): Howdy 2.6.1
Run pacman -Syu
I already tried to run pacman -Syu
, still doesn't work
I already tried to run
pacman -Syu
, still doesn't work
Same problem with rrdtool command. I think there is a problem with the pango package.
I encounter the same problem with pango-1:1.52.2-1
, even after running pacman -Syu
I hit the same issue even if I build the libpango
1.52.2 tag from source and install. Seems like an issue with the glib
package? grep
ping the pango
source code for g_once_init_leave_pointer
produces no matches, but the compiled binaries match.
I'll just add that I had the same error but running pacman -Syu did fix it for me. I'm running Arch Linux in WSL2.
I've encountered the same problem, I've managed to solve this by following this thread
I got it working running
LD_PRELOAD="/usr/lib/libgio-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so" /opt/resolve/bin/resolve
Can we get a permanent fix for this?
I've encountered the same problem, I've managed to solve this by following this thread
I got it working running
LD_PRELOAD="/usr/lib/libgio-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so" /opt/resolve/bin/resolve
Can we get a permanent fix for this?
Was facing the same issue on Davinci Resolve, this fixed it for me
Thank you @shae-ra !
also this can be done to avoid launch the program via terminal every time.
cp /usr/lib/libgio-2.0.so /opt/resolve/libs
cp /usr/lib/libgmodule-2.0.so /opt/resolve/libs
cp /usr/lib/libglib-2.0.so /opt/resolve/libs
if you have resolve in different dir than /opt/resolve be sure to change it.