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

AppImage not running on Ubuntu 20.04 #295

Open
Ringel opened this issue May 4, 2020 · 1 comment
Open

AppImage not running on Ubuntu 20.04 #295

Ringel opened this issue May 4, 2020 · 1 comment

Comments

@Ringel
Copy link

Ringel commented May 4, 2020

On Ubuntu 20.04 the AppImage fails with (iris is for Intel graphics):

libGL error: MESA-LOADER: failed to open iris (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open iris (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open swrast (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libGL error: failed to load driver: swrast
QGLXContext: Failed to create dummy context
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 1, profile  QSurfaceFormat::OpenGLContextProfile(NoProfile)) 
/tmp/.mount_JIpDvQ/AppRun: line 13: 43214 Aborted                 (core dumped) /lib64/ld-linux-x86-64.so.2 "$CWD"/bin/machinekit-client $@

Problem is caused by old libstdc++.so.6 contained in AppImage ... too old to be used by Mesa.

Issue could be solved by forcing system library:

LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libstdc++.so.6 ./MachinekitClient_Development-201910151052-master-3863795-x64.AppImage

libstdc++.so.6 should be selected by AppImageKit-checkrt or removed.

@BrianSidebotham
Copy link

On Fedora 32 it's the same. The current release requires the same fix, but the location of libstdc++ is slightly different.

LD_PRELOAD=/usr/lib64/libstdc++.so.6 ./MachinekitClient_Development-201910151052-master-3863795-x64.AppImage

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