~mugman/blog

a blog about tildes

The Undefined Symbol

June 23, 2022 — ~mugman

I kept getting this error when trying to open apps like VS Code or Discord on my PC:

symbol lookup error: /lib/x86_64-linux-gnu/libgdk-3.so.0: undefined symbol: wl_proxy_marshal_flags

For weeks, I just dealt with it using an LD_PRELOAD, without really investigating the problem much.

LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libwayland-client.so.0

But today, I decided to dedicate an hour to fixing this, and fix it I did. I used this guide to find where some problems thought that the libwayland-client library should be, and it was at /usr/local/lib/. Fixing the problem was as easy as

sudo cp /usr/lib/x86_64-linux-gnu/libwayland-* /usr/local/lib/

tags: ubuntu, linux, fixing-pc