# WP7607 Libsqlite Error In Legato application

**URL:** <https://forum.legato.io/t/wp7607-libsqlite-error-in-legato-application/7017>\
**Category:** Uncategorized\
**Created:** [July 17, 2026, 4:49am UTC](https://forum.legato.io/t/wp7607-libsqlite-error-in-legato-application/7017 "2026-07-17T04:49:13Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [July 17, 2026, 5:39am UTC](https://forum.legato.io/t/wp7607-libsqlite-error-in-legato-application/7017/2 "2026-07-17T05:39:32Z")

</div>

do these help?

> [@Undefined reference when using mksys, but not mkapp](https://forum.legato.io/t/undefined-reference-when-using-mksys-but-not-mkapp/6550/21):
>
> I found that the problem is in .cdef, you cannot add requires: { lib: { ../third-party/lib/libsqlite3.so } } Otherwise, it will have multiple definition problem during compilation in R16 package. (not quite understand the root cause as no problem is found for compilation in R13 package) As you mentioned above, you need to add “-L $(CURDIR)/…/third-party/lib/libsqlite3.so” in Makefile for mkapp. However, for mksys, I don’t know where to add such “-L $(CURDIR)/…/third-part…

> **[Database Support](https://mangoh.discourse.group/t/database-support/93/15)**
>
> Hi Nila , Please download the Source code present https://sqlite.org/download.html i.e sqlite-amalgamation-3190300.zip Make a folder structure for Sqlite3 as mkdir third-party cd third-party mkdir inc mkdir src mkdir lib Copy...

BTW, are you using unsandboxed application to create link in /usr/lib?

---

_[View the full topic](https://forum.legato.io/t/wp7607-libsqlite-error-in-legato-application/7017)._
