vscodium icon indicating copy to clipboard operation
vscodium copied to clipboard

snap pthread error / GTK

Open moolight-seashell opened this issue 3 months ago • 5 comments

it looks like this is a known bugs :

when running my rust code : error: /snap/core20/current/lib/x86_64-linux-gnu/libpthread.so.0: undefined symbol: __libc_pthread_init

a workaround (run these inside the codium terminal) :

unset GTK_PATH unset GIO_MODULE_DIR

Is there anything that can be done to avoid having to enter this every time?

moolight-seashell avatar Oct 12 '25 13:10 moolight-seashell

Can you try the version 1.105 from the edge channel?

daiyam avatar Oct 14 '25 13:10 daiyam

same on edge channel

target/debug/cxx-qml: symbol lookup error: /snap/core20/current/lib/x86_64-linux-gnu/libpthread.so.0: undefined symbol: __libc_pthread_init, version GLIBC_PRIVATE

moolight-seashell avatar Oct 19 '25 18:10 moolight-seashell

can you try unset GTK_PATH?

daiyam avatar Oct 19 '25 18:10 daiyam

Please look at https://stackoverflow.com/questions/75921414/java-symbol-lookup-error-snap-core20-current-lib-x86-64-linux-gnu-libpthread

daiyam avatar Oct 19 '25 18:10 daiyam

As mentioned in the initial post, this workaround works.

My question was more about whether there was a way to fix this problem so that I wouldn't have to do this anymore.

moolight-seashell avatar Oct 19 '25 19:10 moolight-seashell