From 969e5157e9ec53a519c48a0db993b55782e9656f Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 30 Jun 2014 10:05:34 +0530 Subject: [PATCH] Leave out libstdc++ from the binary linux build --- setup/installer/linux/freeze2.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/setup/installer/linux/freeze2.py b/setup/installer/linux/freeze2.py index 2abb33f1de..35feba621a 100644 --- a/setup/installer/linux/freeze2.py +++ b/setup/installer/linux/freeze2.py @@ -82,7 +82,14 @@ def binary_includes(): glob.glob('/usr/lib/*/lib' + x)[-1] for x in ( 'gobject-2.0.so.0', 'gthread-2.0.so.0', 'gmodule-2.0.so.0', 'gstreamer-0.10.so.0', 'gstbase-0.10.so.0', 'gstpbutils-0.10.so.0', 'gio-2.0.so.0', - 'ffi.so.5', 'stdc++.so.6', + 'ffi.so.5', + # 'stdc++.so.6', + # We dont include libstdc++.so as the OpenGL dlls on the target + # computer fail to load in the QPA xcb plugin if they were compiled + # with a newer version of gcc than the one on the build computer. + # libstdc++, like glibc is forward compatible and I dont think any + # distros do not have libstdc++.so.6, so it should be safe to leave it out. + # https://gcc.gnu.org/onlinedocs/libstdc++/manual/abi.html )] + [ j(qt['libs'], 'lib%s.so.5' % x) for x in QT_DLLS]