I have uploaded the fix to precise-proposed, please test it when it has
be approved

** Description changed:

+ Impact:
+ python-qwt3d is unusable in precise as it can't be imported due to a 
undefined reference
+ 
+ Fix: link with GLU to satisfy the symbol
+ 
+ TEST CASE:
+ python -c "import PyQt4.Qwt3D"
+ 
+ expected: successful import
+ current: 
+ ImportError: /usr/lib/pyshared/python2.7/PyQt4/Qwt3D/_Qwt3D.so: undefined 
symbol: gluCylinder
+ 
+ Regression potential:
+ just a link added, package broken before, very low chance of regressions
+ 
+ 
+ original report:
+ 
  I'm running Ubuntu 12.04 64-bit with all the latest patches. For one of
  my projects, I'm using python-qwt3d-qt4. It wokked fine in 11.04, but it
  didn't in 11.10 (that's the reason I never installed 11.10 on my
  computer at work). Anyway, this package still isn't usable in 12.04. If
  I try to use it, I get this when starting my program:
  
  ImportError: /usr/lib/pyshared/python2.7/PyQt4/Qwt3D/_Qwt3D.so:
  undefined symbol: gluCylinder
  
  The error is the same I got a while back in Ubuntu Karmic
  (https://bugs.launchpad.net/ubuntu/+source/pyqwt3d/+bug/478230), and the
  solution is the same as it were then: -lGLU is missing when calling
  configure.py.
  
  To fix this error, you need to change line 36 in debian/rules
  (pyqwt3d_0.1.7~cvs20090625-8.debian.tar.gz file) from:
  
  python$$pyvers configure.py -$$qtvers -I /usr/include/qwtplot3d-
  qt$$qtvers --extra-libs=qwtplot3d-qt$$qtvers  -l z -D GL2PS_HAVE_ZLIB);\
  
  to (-lGLU added at the end of options):
  
  python$$pyvers configure.py -$$qtvers -I /usr/include/qwtplot3d-
  qt$$qtvers --extra-libs=qwtplot3d-qt$$qtvers  -l z -D GL2PS_HAVE_ZLIB
  -lGLU);\
  
  I made a package for myself, so I can use this library, but please,
  change this line and make the package usable from main repository. I
  also included a patch for this.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1009753

Title:
  python-qwt3d-qt4 cannot be used

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pyqwt3d/+bug/1009753/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to