Which is the cmake configure file?

I ran the following cmake command

cmake -DCMAKE_INSTALL_PREFIX=/usr/local/openbabel -DPYTHON_BINDINGS=ON
~/src/openbabel

and the output of make -j 4 is at https://gist.github.com/961340

It looks like the error is due to some issue with the OB dylib generation

On Sat, May 7, 2011 at 6:36 AM, Noel O'Boyle <baoille...@gmail.com> wrote:
> Can you show the cmake configure you used? (Did you compile the Python
> bindings? You might be trying to use old bindings against new shared
> libraries.)
>
> - Noel
>
> On 6 May 2011 23:48, Rajarshi Guha <rajarshi.g...@gmail.com> wrote:
>> Hi, I just updated my OB repo to the latest SVN. When I did:
>>
>> make clean
>> make -j 3
>> make install
>>
>> and then tried the openbabel module in Python (OS X 10.6) I get the
>> following error:
>>
>> [GCC 4.0.1 (Apple Inc. build 5465)] on darwin
>> Type "help", "copyright", "credits" or "license" for more information.
>>>>> import openbabel as ob
>> Traceback (most recent call last):
>>  File "<stdin>", line 1, in <module>
>>  File "/Library/Python/2.5/site-packages/openbabel.py", line 38, in <module>
>>    import _openbabel
>> ImportError: dlopen(/Library/Python/2.5/site-packages/_openbabel.so,
>> 2): Symbol not found: __ZN9OpenBabel10OBUnitCell13GetCellMatrixEv
>>  Referenced from: /Library/Python/2.5/site-packages/_openbabel.so
>>  Expected in: /usr/local/openbabel/lib/libopenbabel.4.dylib
>>
>>
>> Has anybody seen this before?
>>
>> --
>> Rajarshi Guha
>> NIH Chemical Genomics Center
>>
>> ------------------------------------------------------------------------------
>> WhatsUp Gold - Download Free Network Management Software
>> The most intuitive, comprehensive, and cost-effective network
>> management toolset available today.  Delivers lowest initial
>> acquisition cost and overall TCO of any competing solution.
>> http://p.sf.net/sfu/whatsupgold-sd
>> _______________________________________________
>> OpenBabel-discuss mailing list
>> OpenBabel-discuss@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/openbabel-discuss
>>
>



-- 
Rajarshi Guha
NIH Chemical Genomics Center

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

Reply via email to