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

trufflesqueak-launcher: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.26' not found #161

Closed
LinqLover opened this issue May 25, 2022 · 4 comments

Comments

@LinqLover
Copy link
Collaborator

I followed the installation instructions to install TruffleSqueak on my system:

Ubuntu 18.04
WSL1 on Windows 64 bit

After installing TruffleSqueak via gu, I cannot start it:

$ ./graalvm-ce-java17-linux-amd64-22.1.0/graalvm-ce-java17-22.1.0/bin/trufflesqueak --help
/mnt/c/Users/Christoph/Documents/graalvm/graalvm-ce-java17-linux-amd64-22.1.0/graalvm-ce-java17-22.1.0/languages/smalltalk/bin/trufflesqueak-launcher: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /mnt/c/Users/Christoph/Documents/graalvm/graalvm-ce-java17-linux-amd64-22.1.0/graalvm-ce-java17-22.1.0/languages/smalltalk/bin/trufflesqueak-launcher)

However, libstdc++6 is installed:

$ sudo apt install libstdc++6
Reading package lists... Done
Building dependency tree
Reading state information... Done
libstdc++6 is already the newest version (8.4.0-1ubuntu1~18.04).

What extra packages and which versions of them do I have to install to get TruffleSqueak running?

@kolyaopahle
Copy link

Ubuntu 18.04 ships with gcc8 wich does not support the required glibc version 3.4.26 you can check by running: strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBC

3.4.26 should not be mentioned, you could try upgrading your gcc and glib version to 9+ but you might break your installation doing so...

@kolyaopahle
Copy link

As you are using wsl it might be worth a try to switch to a different os in wsl that supports the required glibc versions

@fniephaus
Copy link
Member

I'm afraid TruffleSqueak is currently built on Ubuntu 20.04. I guess we could downgrade the runners to 18.04 but I'm not sure it's worth the effort. Maybe it's easy, maybe it's not depending on the dependencies :S

@LinqLover
Copy link
Collaborator Author

Thank you for the pointers! glibc version 3.4.26 was indeed not listed here. Finally got it working with this guide: https://askubuntu.com/a/1328208/1140486

Maybe either this link or a short hint about missing compatibility should be added somewhere to the installation instructions? :)

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