Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 384795

Summary: sci-libs/opencascade-6.3: missing symbol
Product: Gentoo Linux Reporter: Oliver Borm <oli.borm>
Component: [OLD] LibraryAssignee: Andreas K. Hüttel <dilfridge>
Status: RESOLVED OBSOLETE    
Severity: normal CC: sci
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Oliver Borm 2011-09-28 15:38:17 UTC
I assume, due to bug 371883 "fix" opencascade is no longer working due to  missing symbols. Please remove opencascade-6.3-underlinking.patch.

Reproducible: Always

Steps to Reproduce:
I am using the python bindings of opencascade (python-occ) and while importing the modules, the following error occurred:
Actual Results:  
    from OCC.Display.qtDisplay import qtViewer3d
  File "/usr/lib64/python2.7/site-packages/OCC/Display/qtDisplay.py", line 24, in <module>
    import OCCViewer
  File "/usr/lib64/python2.7/site-packages/OCC/Display/OCCViewer.py", line 23, in <module>
    import OCC.Visualization
  File "/usr/lib64/python2.7/site-packages/OCC/Visualization.py", line 28, in <module>
    _Visualization = swig_import_helper()
  File "/usr/lib64/python2.7/site-packages/OCC/Visualization.py", line 24, in swig_import_helper
    _mod = imp.load_module('_Visualization', fp, pathname, description)
ImportError: /usr/lib64/opencascade-6.3/ros/lin/lib64/libTKNIS.so.0: undefined symbol: glMultMatrixd



According to this:

http://groups.google.com/group/oce-dev/browse_thread/thread/7f4071af60e3940d

The problem is the -Wl,--as-needed flag.
Comment 1 Rafał Mużyło 2011-09-28 16:14:13 UTC
That fix is most likely correct, though your report suggests it's simply incomplete.
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2012-01-07 16:31:10 UTC
Not in the tree anymore. If you still have problems with occ-6.5, please file a new bug.