# Problems with using libxml2

**URL:** <https://forum.legato.io/t/problems-with-using-libxml2/5521>\
**Category:** Uncategorized\
**Created:** [November 25, 2020, 12:42pm UTC](https://forum.legato.io/t/problems-with-using-libxml2/5521 "2020-11-25T12:42:34Z")\
**Posts on this page:** 3\
**Page:** 3

<div class="post-metadata">

**Author:** ![Kalai](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/kalai/32/1135_2.png) [@Kalai](https://forum.legato.io/u/Kalai)\
**Post date:** [March 5, 2022, 7:22am UTC](https://forum.legato.io/t/problems-with-using-libxml2/5521/42 "2022-03-05T07:22:56Z")

</div>

hi i included the .so file in .sdef section, but getting same error  
cannot open source file "libxml/xmlversion.h" (dependency of "libxml2/libxml/parser.h")"

my legato version is 19.11.2\_2a345e941098cd5b8debdf5dc0f93aca , can any one assist how to resolve the issue

---

<div class="post-metadata">

**Author:** ![Kalai](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/kalai/32/1135_2.png) [@Kalai](https://forum.legato.io/u/Kalai)\
**Post date:** [March 5, 2022, 7:43am UTC](https://forum.legato.io/t/problems-with-using-libxml2/5521/43 "2022-03-05T07:43:16Z")

</div>

[XML.tar.gz](https://forum.legato.io/uploads/short-url/cywB1tOJl0IvlwjtqKfjiL7ICaK.gz) (536.6 KB)  
For refernce here i have attached my source

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [March 5, 2022, 1:07pm UTC](https://forum.legato.io/t/problems-with-using-libxml2/5521/44 "2022-03-05T13:07:05Z")

</div>

You can use this one, I don’t see problem to compile with R13.3 package

[xmlTest.rar](https://forum.legato.io/uploads/short-url/tOjAEfWFnal6lOlj3WVnKp4ORmt.rar) (69.1 KB)

[Previous page](https://forum.legato.io/t/problems-with-using-libxml2/5521.md?page=2)
