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

xdg-open undefined symbol in GLIBC_PRIVATE #76

Open
sergiusens opened this issue Nov 23, 2023 · 5 comments
Open

xdg-open undefined symbol in GLIBC_PRIVATE #76

sergiusens opened this issue Nov 23, 2023 · 5 comments

Comments

@sergiusens
Copy link
Contributor

sergiusens@cuivienen:~$ snap run --shell emacs
sergiusens@cuivienen:~$ xdg-open https://ubuntu.com
gio: symbol lookup error: /snap/emacs/2249/usr/lib/x86_64-linux-gnu/gio/modules/../../../../../lib/x86_64-linux-gnu/libpthread.so.0: undefined symbol: __libc_pthread_init, version GLIBC_PRIVATE

Workaround

sergiusens@cuivienen:~$ unset GIO_MODULE_DIR
sergiusens@cuivienen:~$ xdg-open https://ubuntu.com
sergiusens@cuivienen:~$ Gtk-Message: 22:07:59.367: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.
@sergiusens
Copy link
Contributor Author

image

@sergiusens
Copy link
Contributor Author

I added the following to early-init.el to workaround this

https://github.com/alexmurray/emacs-snap/blob/master/site-lisp/site-start.el#L16C1-L21C16

@alexmurray
Copy link
Owner

Hmmmm I'm surprised the code from site-lisp.el doesn't appear to be working (I realise it won't run for the snap run --shell emacs case but it should get run automatically by emacs on startup for the eshell example)

@sergiusens
Copy link
Contributor Author

The only thing I can say that changed is that I blasted away my .emacs.d (moving away from my one month of spacemacs) and retangled my literate emacs.org (which had been previously working) and this started happening.

@alexmurray
Copy link
Owner

This seems very similar to #73 (comment) - which was due to some cached variables apparently. Can you try make sure there are no old .elc files or similar? Cheers

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

No branches or pull requests

2 participants