Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In Ubuntu 22.04 error libpango-1.0.so.0: undefined symbol: g_memdup2 #32

Closed
MarioBross69 opened this issue Jun 11, 2022 · 10 comments · Fixed by #45
Closed

In Ubuntu 22.04 error libpango-1.0.so.0: undefined symbol: g_memdup2 #32

MarioBross69 opened this issue Jun 11, 2022 · 10 comments · Fixed by #45

Comments

@MarioBross69
Copy link

In Ubuntu 22.04 Desktop when executing it the error occurs

gvim: symbol lookup error: /lib/x86_64-linux-gnu/libpango-1.0.so.0: undefined symbol: g_memdup2

Thanks

@q962
Copy link

q962 commented Jun 16, 2022

The reason why this problem occurs for me is to call the program in vim-terminal

Because AppRun sets LD_LIBRARY_PATH

@MarioBross69
Copy link
Author

MarioBross69 commented Jun 16, 2022 via email

@q962
Copy link

q962 commented Jun 16, 2022

No, this problem occurs because the latest version of gtk and its dependencies are compiled for myself. And libpango-1.0 in the system is an old version

But I don't know why vim doesn't include the libpango-1.0.so file, which is not found in the package.

This may be a packaging error of vim

And I haven't sorted out the logic of RPATH and LD_LIBRARY_PATH

@chrisbra
Copy link
Member

so you are saying, libpango should be included in the appimage? Because currently it is deleted and not included on purpose:

########################################################################
# Delete stuff that should not go into the AppImage
########################################################################
# if those libraries are present, there will be a pango problem
find . -name "libpango*" -delete
find . -name "libfreetype*" -delete
find . -name "libX*" -delete

We could remove that, but the comment says this causes another problem if the library is there.

@chrisbra
Copy link
Member

Hm, related: AppImageCommunity/pkg2appimage@f2df956

So let me disable that part and see if this helps

@MarioBross69
Copy link
Author

MarioBross69 commented Jun 16, 2022 via email

@MarioBross69
Copy link
Author

With the new version more errors occur :-(

./GVim-v8.2.5114.glibc2.15-x86_64.AppImage
/usr/lib/x86_64-linux-gnu/gio/modules/libgiognutls.so: undefined symbol: g_byte_array_steal
Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgiognutls.so
/usr/lib/x86_64-linux-gnu/gio/modules/libgiognomeproxy.so: undefined symbol: g_task_set_name
Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgiognomeproxy.so
/usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so: undefined symbol: g_task_set_name
Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so
/usr/lib/x86_64-linux-gnu/gio/modules/libgiolibproxy.so: undefined symbol: g_task_set_name
Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgiolibproxy.so
/usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so: undefined symbol: g_task_set_name
Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgioremote-volume-monitor.so

(gvim:133339): Gtk-WARNING **: 19:41:42.833: Theme parsing error: gtk.css:1422:23: 'font-feature-settings' is not a valid property name

(gvim:133339): Gtk-WARNING **: 19:41:42.838: Theme parsing error: gtk.css:3308:25: 'font-feature-settings' is not a valid property name

(gvim:133339): Gtk-WARNING **: 19:41:42.840: Theme parsing error: gtk.css:3770:23: 'font-feature-settings' is not a valid property name

(gvim:133339): Gtk-WARNING **: 19:41:43.030: Theme parsing error: gtk.css:1422:23: 'font-feature-settings' is not a valid property name

(gvim:133339): Gtk-WARNING **: 19:41:43.034: Theme parsing error: gtk.css:3308:25: 'font-feature-settings' is not a valid property name

(gvim:133339): Gtk-WARNING **: 19:41:43.035: Theme parsing error: gtk.css:3770:23: 'font-feature-settings' is not a valid property name

(gvim:133339): Gtk-WARNING **: 19:41:43.130: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
**
Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/Yaru/16x16/status/image-missing.png: No se ha reconocido el formato de imagen del archivo (gdk-pixbuf-error-quark, 3)
Vim: Caught deadly signal ABRT
Vim: Finished.
Abortado (`core' generado)

@q962
Copy link

q962 commented Jun 19, 2022

Still a packaging problem, the dependencies are not all packaged: /usr/lib/x86_64-linux-gnu/gio/modules/*

You can try to circumvent this problem by running vim instead of GVim

@MarioBross69
Copy link
Author

I'm already using vim, but I was interested in using gvim
Thank you

@chrisbra
Copy link
Member

chrisbra commented Mar 1, 2023

Hm, I have the same issue on Debian Bullseye:

/usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so: undefined symbol: g_task_set_name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants