# Some problems

**URL:** <https://discuss.avogadro.cc/t/some-problems/1045>\
**Category:** Development\
**Created:** [June 19, 2008, 5:51pm UTC](https://discuss.avogadro.cc/t/some-problems/1045 "2008-06-19T17:51:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Karol\_Langner](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/karol_langner/32/25_2.png) [@Karol\_Langner](https://discuss.avogadro.cc/u/Karol_Langner)\
**Post date:** [June 19, 2008, 5:51pm UTC](https://discuss.avogadro.cc/t/some-problems/1045/1 "2008-06-19T17:51:27Z")

</div>

Hi,

I just checked out the current sources from the repository. There is  
a syntax error in today’s last commit (r1524). On line 96 of  
trunk/libavogadro/src/primitiveitemmodel.cpp there is an  
illegal ‘void’ before the destructor of PrimitiveItemModel. After  
removing it, avogadro compiles OK.

However, on running:  
export LD\_LIBRARY\_PATH=LD\_LIBRARY\_PATH:/usr/local/lib /usr/local/bin/avogadro @  
I get the following error:  
/usr/local/bin/avogadro: symbol lookup  
error: /usr/local/lib/libavogadro.so.0: undefined symbol:  
\_ZN9OpenBabel5OBMol12AddHydrogensEbb

I built openbabel also from today’s trunk - any hint if this is some  
mistake of mine or not?

Cheers,  
Karol

–  
written by Karol Langner  
Thu Jun 19 19:51:26 CEST 2008

---

<div class="post-metadata">

**Author:** ![Karol\_Langner](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/karol_langner/32/25_2.png) [@Karol\_Langner](https://discuss.avogadro.cc/u/Karol_Langner)\
**Post date:** [June 19, 2008, 6:02pm UTC](https://discuss.avogadro.cc/t/some-problems/1045/2 "2008-06-19T18:02:31Z")

</div>

On Thu, Jun 19, 2008 at 7:51 PM, Karol M. Langner [karol.langner@gmail.com](mailto:karol.langner@gmail.com)  
wrote:

> Hi,
> 
> I just checked out the current sources from the repository. There is  
> a syntax error in today’s last commit (r1524). On line 96 of  
> trunk/libavogadro/src/primitiveitemmodel.cpp there is an  
> illegal ‘void’ before the destructor of PrimitiveItemModel. After  
> removing it, avogadro compiles OK.
> 
> However, on running:  
> export LD\_LIBRARY\_PATH=LD\_LIBRARY\_PATH:/usr/local/lib /usr/local/bin/avogadro @  
> I get the following error:  
> /usr/local/bin/avogadro: symbol lookup  
> error: /usr/local/lib/libavogadro.so.0: undefined symbol:  
> \_ZN9OpenBabel5OBMol12AddHydrogensEbb
> 
> I built openbabel also from today’s trunk - any hint if this is some  
> mistake of mine or not?
> 
> Cheers,  
> Karol

Nevermind this second point - I forgot to do ‘make install’ after compiling  
🙂 Avogadro runs fine…

- Karol
