unable to import soya due to undefined symbol
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
soya (Debian) |
Fix Released
|
Unknown
|
|||
soya (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Natty |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Run python2.7 on Ubuntu 11.04, try to import soya and you get the following backtrace:
Python 2.7.1+ (r271:86832, Apr 11 2011, 18:05:24)
[GCC 4.5.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import soya
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/
from soya._soya import *
ImportError: /usr/lib/
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: python-soya 0.15~rc1-3build1
ProcVersionSign
Uname: Linux 2.6.38-8-generic i686
Architecture: i386
Date: Tue May 10 00:55:43 2011
ProcEnviron:
LANGUAGE=en_US:en
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: soya
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
- Michael Terry: Approve
- Ubuntu branches: Pending requested
-
Diff: 55 lines (+35/-0)3 files modifieddebian/changelog (+7/-0)
debian/patches/link-with-gl-and-glu.patch (+27/-0)
debian/patches/series (+1/-0)
Changed in soya (Ubuntu): | |
status: | New → Confirmed |
Changed in soya (Debian): | |
status: | Unknown → Fix Released |
tags: |
added: verification-done removed: verification-needed |
attached patch fixes the issue by explicitly linking against libGLU.
It seems to be caused by the new toolchain but debian is not affected even with --as-needed and --no-add-needed.