Bugs item #3277614, was opened at 2011-04-06 18:09
Message generated for change (Tracker Item Submitted) made by schtob
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=428740&aid=3277614&group_id=40728

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Installation/Building
Group: 2.3.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Tobias Schmidt (schtob)
Assigned to: Nobody/Anonymous (nobody)
Summary: undefined symbol in python when compiling without EIGEN2

Initial Comment:
When I compiled openbabel (version 2.3.0) without EIGEN2, I get an undefined 
symbol error when importing openbabel into python (see error message below). As 
soon as I included EIGEN2 (using -DEIGEN2_INCLUDE_DIR) everything works fine. 
If I understood correctly, EIGEN2 is optional. In that case, I guess there is a 
missing #ifdef. Otherwise, cmake should give an error if EIGEN2 is missing.
My system: RedHat Linux, python 2.5.4, openbabel 2.3.0

Python 2.5.4 (r254:67916, Mar 25 2009, 14:31:21) 
[GCC 4.1.2 20071124 (Red Hat 4.1.2-42)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import openbabel
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/soft/openbabel/2.3.0/lib/python2.5/site-packages/openbabel.py", line 
87, in <module>
    import _openbabel
ImportError: /soft/openbabel/2.3.0/lib/python2.5/site-packages/_openbabel.so: 
undefined symbol: _ZTVN9OpenBabel22OBEnergyConformerScoreE


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=428740&aid=3277614&group_id=40728

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
OpenBabel-Devel mailing list
OpenBabel-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-devel

Reply via email to