Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#98 pymol svn 3945 vs mmlib

v1.4
closed-fixed
nobody
5
2011-05-09
2011-04-24
Jack Howarth
No

When the current pymol svn is built on x86_64 darwin under MacPorts using the setup.py build approach...

https://trac.macports.org/ticket/29242

the resulting _cmd.so has an undefined symbol if...

+ ("NO_MMLIBS",None),

isn't added to def_macros. When this line is omitted the build completes but the resulting pymol fails to execute 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): Symbol not found: _ObjectMoleculeUpdateAtomTypeInfo
Referenced from: /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pymol/_cmd.so
Expected in: flat namespace
in /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pymol/_cmd.so

Discussion

  • Jason Vertrees
    Jason Vertrees
    2011-05-09

    Fixed in updated revision.

     
  • Jason Vertrees
    Jason Vertrees
    2011-05-09

    • status: open --> closed-fixed