[SOLVED] Error encountered when running an example project

when i ran the roids example game, i was given this error:

java.lang.UnsatisfiedLinkError: /tmp/2684035371573478601/x86_64-linux/libtexc_shared.so: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.30’ not found (required by /tmp/2684035371573478601/x86_64-linux/libtexc_shared.so)

i’m running slackware64 15.0 (linux), which is the main cause of the problem since my packages are fairly out-of-date. if anyone could lead me in a good direction, i’d appreciate it.

thanks!

1 Like

Hi qylyp, it does seem like your packages are out of date. To confirm, can you please run the following command;

strings /usr/lib64/libstdc++.so.6 | grep GLIBCXX_3.4.30

If you don’t see any output, the installed C++ runtime is too old for this Defold version. If all your packages are up-to-date, then you might need to upgrade your Slackware system. I’ve had issues like this where I was on an older Fedora and I couldn’t upgrade to the latest CMAKE to compile the codebase, so I needed to upgrade Fedora itself to the latest version. You could try getting a newer runtime somehow and then setting it with LD_LIBRARY_PATH but honestly I don’t know if I would recommend that.

2 Likes

this is what i thought. i think i’ll use a compatible version of defold now until i’m able to fully upgrade my system. thanks for the help!

2 Likes

after some searching , i’ve found this project that builds appimages, so i don’t need to upgrade my system. neat! :3

2 Likes