Skip to content
Permalink
Browse files
Fix for Fedora 18 32-bit fail to start #4926
On a Fedora 18 32-bit VM, installed swig 3.0.10 from sources into
/usr/local, removed the system swig, cloned pybox2d 2.3.2 055428c, then
did `python setup.py build` and copied the `build/lib.linux-i686-2.7`
tree to Physics.

Fixes https://bugs.sugarlabs.org/ticket/4926

Signed-off-by: James Cameron <quozl@laptop.org>
  • Loading branch information
quozl committed Jun 7, 2017
1 parent 0adc332 commit bf4640f
Show file tree
Hide file tree
Showing 8 changed files with 122 additions and 116 deletions.
@@ -6,9 +6,4 @@
if platform.architecture()[0] == '64bit':
from box2d_64 import *
else:
from ctypes import cdll
from sys import path
path.insert(0, 'lib/box2d_32')
libstdc = cdll.LoadLibrary("lib/box2d_32/libstdc++.so")
libstdc = cdll.LoadLibrary("lib/box2d_32/libstdc++.so.6")
from box2d_32 import *

0 comments on commit bf4640f

Please sign in to comment.