[MacPorts] #29327: glew-1.6.0 breaks pymol
MacPorts
noreply at macports.org
Sat Apr 30 14:09:18 PDT 2011
#29327: glew-1.6.0 breaks pymol
--------------------------------------+-------------------------------------
Reporter: howarth@… | Owner: jmr@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: graphics | Port: glew
--------------------------------------+-------------------------------------
Changes (by ryandesign@…):
* cc: jmr (removed)
* owner: macports-tickets@… => jmr@…
Old description:
> The update to flew 1.6.0 breaks pymol which now depends on it. After
> updating glew to 1.6.0, the pre-existing pymol package fails with the
> error...
>
> [MacPro:~] howarth% pymol
> Traceback (most recent call last):
> File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
> /site-packages/pymol/__init__.py", line 184, in <module>
> import pymol
> File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
> /site-packages/pymol/__init__.py", line 472, in <module>
> import _cmd
> ImportError:
> dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
> /site-packages/pymol/_cmd.so, 2): Library not loaded:
> /opt/local/lib/libGLEW.1.5.8.dylib
> Referenced from:
> /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
> /site-packages/pymol/_cmd.so
> Reason: image not found
>
> The trivial fix is to force pymol to be rebuilt with a revision bump...
>
> [MacPro:python2.6/site-packages/pymol] howarth% otool -L _cmd.so
> _cmd.so:
> /opt/local/lib/libpng14.14.dylib (compatibility version 22.0.0,
> current version 22.0.0)
> /opt/local/lib/libGL.1.dylib (compatibility version 1.2.0,
> current version 1.2.0)
> /opt/local/lib/libglut.3.dylib (compatibility version 3.7.0,
> current version 3.7.0)
> /opt/local/lib/libGLEW.1.6.0.dylib (compatibility version 0.0.0,
> current version 0.0.0)
> /opt/local/lib/libfreetype.6.dylib (compatibility version 13.0.0,
> current version 13.2.0)
> /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current
> version 52.0.0)
> /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
> version 159.0.0)
>
> however the glew package also seems flawed. The installed libraries have
> no settings for the compatibility and current versions on the shared
> library...
>
> [MacPro:/opt/local/lib] howarth% otool -L libGLEW.1.6.0.dylib
> libGLEW.1.6.0.dylib:
> /opt/local/lib/libGLEW.1.6.0.dylib (compatibility version 0.0.0,
> current version 0.0.0)
> /System/Library/Frameworks/AGL.framework/Versions/A/AGL
> (compatibility version 1.0.0, current version 1.0.0)
> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
> (compatibility version 1.0.0, current version 1.0.0)
> /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
> version 159.0.0)
>
> Also it is unclear if we should be installing a libGLEW.1.6.dylib only or
> also a libGLEW.1.dylib to have everything using glew linked to
> libGLEW.1.dylib and ease the transition to future 1.x releases. Fink
> takes this approach with...
>
> [MacPro:/sw/lib] howarth% otool -L libGLEW.1.5.8.dylib
> libGLEW.1.5.8.dylib:
> /sw/lib/libGLEW.1.dylib (compatibility version 1.5.0, current
> version 1.5.8)
> /usr/X11/lib/libXmu.6.dylib (compatibility version 9.0.0, current
> version 9.0.0)
> /usr/X11/lib/libXi.6.dylib (compatibility version 8.0.0, current
> version 8.0.0)
> /usr/X11/lib/libGLU.1.dylib (compatibility version 1.3.0, current
> version 1.3.0)
> /usr/X11/lib/libGL.1.dylib (compatibility version 1.2.0, current
> version 1.2.0)
> /usr/X11/lib/libXext.6.dylib (compatibility version 11.0.0,
> current version 11.0.0)
> /usr/X11/lib/libX11.6.dylib (compatibility version 10.0.0,
> current version 10.0.0)
> /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
> version 159.0.0)
New description:
The update to flew 1.6.0 breaks pymol which now depends on it. After
updating glew to 1.6.0, the pre-existing pymol package fails with the
error...
{{{
[MacPro:~] howarth% pymol
Traceback (most recent call last):
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/pymol/__init__.py", line 184, in <module>
import pymol
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/pymol/__init__.py", line 472, in <module>
import _cmd
ImportError:
dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/pymol/_cmd.so, 2): Library not loaded:
/opt/local/lib/libGLEW.1.5.8.dylib
Referenced from:
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/pymol/_cmd.so
Reason: image not found
}}}
The trivial fix is to force pymol to be rebuilt with a revision bump...
{{{
[MacPro:python2.6/site-packages/pymol] howarth% otool -L _cmd.so
_cmd.so:
/opt/local/lib/libpng14.14.dylib (compatibility version 22.0.0,
current version 22.0.0)
/opt/local/lib/libGL.1.dylib (compatibility version 1.2.0, current
version 1.2.0)
/opt/local/lib/libglut.3.dylib (compatibility version 3.7.0,
current version 3.7.0)
/opt/local/lib/libGLEW.1.6.0.dylib (compatibility version 0.0.0,
current version 0.0.0)
/opt/local/lib/libfreetype.6.dylib (compatibility version 13.0.0,
current version 13.2.0)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current
version 52.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 159.0.0)
}}}
however the glew package also seems flawed. The installed libraries have
no settings for the compatibility and current versions on the shared
library...
{{{
[MacPro:/opt/local/lib] howarth% otool -L libGLEW.1.6.0.dylib
libGLEW.1.6.0.dylib:
/opt/local/lib/libGLEW.1.6.0.dylib (compatibility version 0.0.0,
current version 0.0.0)
/System/Library/Frameworks/AGL.framework/Versions/A/AGL
(compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
(compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 159.0.0)
}}}
Also it is unclear if we should be installing a libGLEW.1.6.dylib only or
also a libGLEW.1.dylib to have everything using glew linked to
libGLEW.1.dylib and ease the transition to future 1.x releases. Fink takes
this approach with...
{{{
[MacPro:/sw/lib] howarth% otool -L libGLEW.1.5.8.dylib
libGLEW.1.5.8.dylib:
/sw/lib/libGLEW.1.dylib (compatibility version 1.5.0, current
version 1.5.8)
/usr/X11/lib/libXmu.6.dylib (compatibility version 9.0.0, current
version 9.0.0)
/usr/X11/lib/libXi.6.dylib (compatibility version 8.0.0, current
version 8.0.0)
/usr/X11/lib/libGLU.1.dylib (compatibility version 1.3.0, current
version 1.3.0)
/usr/X11/lib/libGL.1.dylib (compatibility version 1.2.0, current
version 1.2.0)
/usr/X11/lib/libXext.6.dylib (compatibility version 11.0.0,
current version 11.0.0)
/usr/X11/lib/libX11.6.dylib (compatibility version 10.0.0, current
version 10.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 159.0.0)
}}}
--
Comment:
Fixed WikiFormatting and Cc.
--
Ticket URL: <https://trac.macports.org/ticket/29327#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list