# Database Support

**URL:** <https://mangoh.discourse.group/t/database-support/93>\
**Category:** Uncategorized\
**Created:** [June 2, 2016, 6:29am UTC](https://mangoh.discourse.group/t/database-support/93 "2016-06-02T06:29:02Z")\
**Posts on this page:** 20\
**Page:** 4

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [March 26, 2021, 7:28am UTC](https://mangoh.discourse.group/t/database-support/93/64 "2021-03-26T07:28:42Z")

</div>

> [@jeremyzhang](#):
>
> -i “$LEGATO\_ROOT/third-party/inc” -

how about adding the include path -I in .cdef file?  
Or you can copy the .h file together with the .c file?

---

<div class="post-metadata">

**Author:** ![jeremyzhang](https://avatars.discourse-cdn.com/v4/letter/j/4da419/32.png) [@jeremyzhang](https://mangoh.discourse.group/u/jeremyzhang)\
**Post date:** [March 26, 2021, 7:37am UTC](https://mangoh.discourse.group/t/database-support/93/65 "2021-03-26T07:37:01Z")

</div>

I never tried so. What does it look like in .cdef?  
this is how my .cdef looks:

> sources:  
> {  
> testsql.c  
> }

And did you mean copy sqlite.h to testsql.c file?  
------------------------update ----------------------------------  
fatal error: lib/sqlite3.h: No such file or directory is gone now, but another error pops(something wrong with sqlite.so file I guess?):

> (lsh:wp76\_r9\_toolchain) mangoh@mangoh-vm:~/Desktop/myWorkspace/sqlTest$ mkapp -t wp76 sqlTest.adef -i “$LEGATO\_ROOT/third-party/inc/” -L “$LEGATO\_ROOT/third-party/lib/sqlite3.so”  
> \*\* WARNING: Failed to receive sysroot path from compiler ‘gcc --print-sysroot’ (errno: Success).  
> [1/6] Linking C library  
> FAILED: \_build\_sqlTest/wp76/staging/read-only/lib/libComponent\_testsqlComp.so  
> gcc -shared -o \_build\_sqlTest/wp76/staging/read-only/lib/libComponent\_testsqlComp.so \_build\_sqlTest/wp76/component/e2fbebc6625ee95f1e4f2e1aff635082/obj/9e6743bd8c76fa5ac2d847a94fa75154.o \_build\_sqlTest/wp76/component/e2fbebc6625ee95f1e4f2e1aff635082/obj/\_componentMain.c.o /home/mangoh/Desktop/myWorkspace/leaf-data/wp76\_r9\_toolchain/wp76-legato/third-party/lib/sqlite3.so -L\_build\_sqlTest/wp76/staging/read-only/lib -Wl,–enable-new-dtags,-rpath=“$ORIGIN/…/lib” “-L$LEGATO\_BUILD/framework/lib” -llegato -lpthread -lrt -lm  
> /usr/bin/ld: /home/mangoh/Desktop/myWorkspace/leaf-data/wp76\_r9\_toolchain/wp76-legato/third-party/lib/sqlite3.so: Relocations in generic ELF (EM: 40)  
> /usr/bin/ld: /home/mangoh/Desktop/myWorkspace/leaf-data/wp76\_r9\_toolchain/wp76-legato/third-party/lib/sqlite3.so: Relocations in generic ELF (EM: 40)  
> /usr/bin/ld: /home/mangoh/Desktop/myWorkspace/leaf-data/wp76\_r9\_toolchain/wp76-legato/third-party/lib/sqlite3.so: Relocations in generic ELF (EM: 40)  
> /usr/bin/ld: /home/mangoh/Desktop/myWorkspace/leaf-data/wp76\_r9\_toolchain/wp76-legato/third-party/lib/sqlite3.so: Relocations in generic ELF (EM: 40)  
> /usr/bin/ld: /home/mangoh/Desktop/myWorkspace/leaf-data/wp76\_r9\_toolchain/wp76-legato/third-party/lib/sqlite3.so: Relocations in generic ELF (EM: 40)  
> /usr/bin/ld: /home/mangoh/Desktop/myWorkspace/leaf-data/wp76\_r9\_toolchain/wp76-legato/third-party/lib/sqlite3.so: Relocations in generic ELF (EM: 40)  
> /home/mangoh/Desktop/myWorkspace/leaf-data/wp76\_r9\_toolchain/wp76-legato/third-party/lib/sqlite3.so: error adding symbols: File in wrong format  
> collect2: error: ld returned 1 exit status  
> ninja: build stopped: subcommand failed.

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [March 26, 2021, 8:24am UTC](https://mangoh.discourse.group/t/database-support/93/66 "2021-03-26T08:24:01Z")

</div>

> [@jeremyzhang](#):
>
> Relocations in generic ELF

can you attach your sqlTest project and 3rd party library here?

---

<div class="post-metadata">

**Author:** ![rgod](https://avatars.discourse-cdn.com/v4/letter/r/f14d63/32.png) [@rgod](https://mangoh.discourse.group/u/rgod)\
**Post date:** [March 26, 2021, 3:42pm UTC](https://mangoh.discourse.group/t/database-support/93/67 "2021-03-26T15:42:41Z")

</div>

Ok, now I’m getting this error:

> /Workspace/mangOH/apps/sqliteApp/\_build\_sqliteApp/wp77xx/component/c87ee7b719a19be1a70e5dfce1d0b4b1/obj/libComponent\_sqliteTest.so: undefined reference to `sqlite3\_open’  
> collect2: error: ld returned 1 exit status  
> ninja: build stopped: subcommand failed.

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [March 26, 2021, 4:17pm UTC](https://mangoh.discourse.group/t/database-support/93/68 "2021-03-26T16:17:49Z")

</div>

Did you compile the sqlite3.so?

---

<div class="post-metadata">

**Author:** ![rgod](https://avatars.discourse-cdn.com/v4/letter/r/f14d63/32.png) [@rgod](https://mangoh.discourse.group/u/rgod)\
**Post date:** [March 26, 2021, 5:10pm UTC](https://mangoh.discourse.group/t/database-support/93/69 "2021-03-26T17:10:31Z")

</div>

yes I did. Just to clarify, should be compiling the app with the wp77xx toolchain or the wp76 toolchain?

---

<div class="post-metadata">

**Author:** ![jeremyzhang](https://avatars.discourse-cdn.com/v4/letter/j/4da419/32.png) [@jeremyzhang](https://mangoh.discourse.group/u/jeremyzhang)\
**Post date:** [March 26, 2021, 10:18pm UTC](https://mangoh.discourse.group/t/database-support/93/70 "2021-03-26T22:18:49Z")

</div>

that’s something I cannot help so far… I’m stuck too

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [March 27, 2021, 4:34am UTC](https://mangoh.discourse.group/t/database-support/93/71 "2021-03-27T04:34:43Z")

</div>

I can compile with attached application.  
The makefile of sqlite is using WP76 R9 toolchain.  
The legato application is successfully compiled in WP76 R10.1.

[testsql.7z](https://mangoh.discourse.group/uploads/short-url/iAQMx0Fp2pqwy3xjDUv2PfBqpTF.7z) (2.8 MB)

---

<div class="post-metadata">

**Author:** ![jeremyzhang](https://avatars.discourse-cdn.com/v4/letter/j/4da419/32.png) [@jeremyzhang](https://mangoh.discourse.group/u/jeremyzhang)\
**Post date:** [March 28, 2021, 4:54am UTC](https://mangoh.discourse.group/t/database-support/93/72 "2021-03-28T04:54:54Z")

</div>

Hi,

I directly used .so file in your attach, but still got this:

> (lsh:wp76\_r9\_toolchain) mangoh@mangoh-vm:~/Desktop/myWorkspace/sqlTest$ mkapp -t wp76 sqlTest.adef -i “third-party/inc” -L “third-party/lib/sqlite3.so”  
> \*\* WARNING: Failed to receive sysroot path from compiler ‘gcc --print-sysroot’ (errno: Success).  
> [3/9] Linking C library  
> FAILED: \_build\_sqlTest/wp76/staging/read-only/lib/libComponent\_testsqlComp.so  
> gcc -shared -o \_build\_sqlTest/wp76/staging/read-only/lib/libComponent\_testsqlComp.so \_build\_sqlTest/wp76/component/e2fbebc6625ee95f1e4f2e1aff635082/obj/9e6743bd8c76fa5ac2d847a94fa75154.o \_build\_sqlTest/wp76/component/e2fbebc6625ee95f1e4f2e1aff635082/obj/\_componentMain.c.o third-party/lib/sqlite3.so -lsqlite3 -L\_build\_sqlTest/wp76/staging/read-only/lib -Wl,–enable-new-dtags,-rpath=“$ORIGIN/…/lib” “-L$LEGATO\_BUILD/framework/lib” -llegato -lpthread -lrt -lm  
> /usr/bin/ld: third-party/lib/sqlite3.so: Relocations in generic ELF (EM: 40)  
> /usr/bin/ld: third-party/lib/sqlite3.so: Relocations in generic ELF (EM: 40)  
> /usr/bin/ld: third-party/lib/sqlite3.so: Relocations in generic ELF (EM: 40)  
> /usr/bin/ld: third-party/lib/sqlite3.so: Relocations in generic ELF (EM: 40)  
> /usr/bin/ld: third-party/lib/sqlite3.so: Relocations in generic ELF (EM: 40)  
> /usr/bin/ld: third-party/lib/sqlite3.so: Relocations in generic ELF (EM: 40)  
> third-party/lib/sqlite3.so: error adding symbols: File in wrong format  
> collect2: error: ld returned 1 exit status  
> [4/9] Compiling C source  
> ninja: build stopped: subcommand failed.

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [March 28, 2021, 5:37am UTC](https://mangoh.discourse.group/t/database-support/93/73 "2021-03-28T05:37:13Z")

</div>

Are you using my project for legato app?

---

<div class="post-metadata">

**Author:** ![jeremyzhang](https://avatars.discourse-cdn.com/v4/letter/j/4da419/32.png) [@jeremyzhang](https://mangoh.discourse.group/u/jeremyzhang)\
**Post date:** [March 28, 2021, 5:42am UTC](https://mangoh.discourse.group/t/database-support/93/74 "2021-03-28T05:42:12Z")

</div>

I tried with your app also, it produced the same error tho…

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [March 28, 2021, 5:54am UTC](https://mangoh.discourse.group/t/database-support/93/75 "2021-03-28T05:54:54Z")

</div>

I am not using third-party/lib/sqlite3.so.  
I used libsqlite3.so

Seems you are not using the same as mine

---

<div class="post-metadata">

**Author:** ![jeremyzhang](https://avatars.discourse-cdn.com/v4/letter/j/4da419/32.png) [@jeremyzhang](https://mangoh.discourse.group/u/jeremyzhang)\
**Post date:** [March 28, 2021, 5:55am UTC](https://mangoh.discourse.group/t/database-support/93/76 "2021-03-28T05:55:59Z")

</div>

This is the error produced by your app on my machine:

> (lsh:wp76\_r9\_toolchain) mangoh@mangoh-vm:~/Desktop/myWorkspace/testsql$ mkapp -t wp76 testsql.adef -i “third-party/inc” -L “third-party/lib/libsqlite3.so”  
> \*\* WARNING: Failed to receive sysroot path from compiler ‘gcc --print-sysroot’ (errno: Success).  
> [4/9] Linking C library  
> FAILED: \_build\_testsql/wp76/staging/read-only/lib/libComponent\_testsqlComponent.so  
> gcc -shared -o \_build\_testsql/wp76/staging/read-only/lib/libComponent\_testsqlComponent.so \_build\_testsql/wp76/component/8e66693676fcd15060ca87bf2fcf29b4/obj/c06d414e5250101e4956254547f2c639.o \_build\_testsql/wp76/component/8e66693676fcd15060ca87bf2fcf29b4/obj/\_componentMain.c.o third-party/lib/libsqlite3.so -L/home/mangoh/Desktop/myWorkspace/testsql/third-party/lib -lsqlite3 -L\_build\_testsql/wp76/staging/read-only/lib -Wl,–enable-new-dtags,-rpath=“$ORIGIN/…/lib” “-L$LEGATO\_BUILD/framework/lib” -llegato -lpthread -lrt -lm  
> /usr/bin/ld: third-party/lib/libsqlite3.so: Relocations in generic ELF (EM: 40)  
> /usr/bin/ld: third-party/lib/libsqlite3.so: Relocations in generic ELF (EM: 40)  
> /usr/bin/ld: third-party/lib/libsqlite3.so: Relocations in generic ELF (EM: 40)  
> /usr/bin/ld: third-party/lib/libsqlite3.so: Relocations in generic ELF (EM: 40)  
> /usr/bin/ld: third-party/lib/libsqlite3.so: Relocations in generic ELF (EM: 40)  
> /usr/bin/ld: third-party/lib/libsqlite3.so: Relocations in generic ELF (EM: 40)  
> third-party/lib/libsqlite3.so: error adding symbols: File in wrong format  
> collect2: error: ld returned 1 exit status  
> ninja: build stopped: subcommand failed.

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [March 28, 2021, 5:58am UTC](https://mangoh.discourse.group/t/database-support/93/77 "2021-03-28T05:58:05Z")

</div>

Have you done a “make clean”?  
Or you need to recompile libsqlite3.so with your wp76 r9 toolchain?

---

<div class="post-metadata">

**Author:** ![jeremyzhang](https://avatars.discourse-cdn.com/v4/letter/j/4da419/32.png) [@jeremyzhang](https://mangoh.discourse.group/u/jeremyzhang)\
**Post date:** [March 28, 2021, 6:01am UTC](https://mangoh.discourse.group/t/database-support/93/78 "2021-03-28T06:01:45Z")

</div>

This is so weird…

> (lsh:wp76\_r9\_toolchain) mangoh@mangoh-vm:~/Desktop/myWorkspace/testsql/third-party/src$ make -f Makefile clean  
> make: \*\*\* No rule to make target ‘clean’. Stop.  
> (lsh:wp76\_r9\_toolchain) mangoh@mangoh-vm:~/Desktop/myWorkspace/testsql/third-party/src$ make clean  
> make: \*\*\* No rule to make target ‘clean’. Stop.

I tried recompile libsqlite3.so, it didn’t make a difference…

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [March 28, 2021, 6:08am UTC](https://mangoh.discourse.group/t/database-support/93/79 "2021-03-28T06:08:41Z")

</div>

I mean make clean the legato project…  
I successfully compile the legato app with developer studio with wp76 r10.1 package, maybe you can try the same.

---

<div class="post-metadata">

**Author:** ![rgod](https://avatars.discourse-cdn.com/v4/letter/r/f14d63/32.png) [@rgod](https://mangoh.discourse.group/u/rgod)\
**Post date:** [March 29, 2021, 4:20pm UTC](https://mangoh.discourse.group/t/database-support/93/80 "2021-03-29T16:20:54Z")

</div>

I seem to have it working now. Thanks for your help. I’m wondering if there is a way to put an already existing .db file onto the mangoh and access it through sqlite3?

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [March 30, 2021, 12:10am UTC](https://mangoh.discourse.group/t/database-support/93/81 "2021-03-30T00:10:11Z")

</div>

I guess you need to bundle the database in .adef.

You can see here on how to open database:

[https://zetcode.com/db/sqlitec/](https://zetcode.com/db/sqlitec/)

---

<div class="post-metadata">

**Author:** ![jeremyzhang](https://avatars.discourse-cdn.com/v4/letter/j/4da419/32.png) [@jeremyzhang](https://mangoh.discourse.group/u/jeremyzhang)\
**Post date:** [March 30, 2021, 5:40am UTC](https://mangoh.discourse.group/t/database-support/93/82 "2021-03-30T05:40:27Z")

</div>

Did you have it working on wp7702?

I’m still stuck… Can you specify how you did it?

---

<div class="post-metadata">

**Author:** ![jeremyzhang](https://avatars.discourse-cdn.com/v4/letter/j/4da419/32.png) [@jeremyzhang](https://mangoh.discourse.group/u/jeremyzhang)\
**Post date:** [March 31, 2021, 12:43am UTC](https://mangoh.discourse.group/t/database-support/93/83 "2021-03-31T00:43:53Z")

</div>

now I’m getting this…

> (lsh:SWI-WP76) ubuntu@ubuntu1804:~/Desktop/myWorkspace/testsql$ mkapp -t wp76xx testsql.adef -i “third-party/inc” -L “third-party/lib/libsqlite3.so”  
> [5/10] Linking C library  
> FAILED: \_build\_testsql/wp76xx/staging/read-only/lib/libComponent\_testsqlComponent.so  
> /home/ubuntu/Desktop/myWorkspace/leaf-data/SWI-WP76/wp76-toolchain/sysroots/x86\_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc --sysroot=/home/ubuntu/Desktop/myWorkspace/leaf-data/SWI-WP76/wp76-toolchain/sysroots/armv7a-neon-poky-linux-gnueabi -shared -o \_build\_testsql/wp76xx/staging/read-only/lib/libComponent\_testsqlComponent.so \_build\_testsql/wp76xx/component/d6489c1101c4ed5fdff50b8faa2fbc1c/obj/87454c5c98951df982e27e716134b07f.o \_build\_testsql/wp76xx/component/d6489c1101c4ed5fdff50b8faa2fbc1c/obj/\_componentMain.c.o third-party/lib/libsqlite3.so -L/home/ubuntu/Desktop/myWorkspace/testsql/third-party/lib -lsqlite3 -L\_build\_testsql/wp76xx/staging/read-only/lib -Wl,–enable-new-dtags,-rpath=“$ORIGIN/…/lib” “-L$LEGATO\_BUILD/framework/lib” -llegato -lpthread -lrt -lm  
> /home/ubuntu/Desktop/myWorkspace/testsql/third-party/lib/libsqlite3.so:(.rodata+0x24): multiple definition of `sqlite3_version' third-party/lib/libsqlite3.so:(.rodata+0x24): first defined here /home/ubuntu/Desktop/myWorkspace/testsql/third-party/lib/libsqlite3.so:(.bss+0x0): multiple definition of `sqlite3\_temp\_directory’  
> third-party/lib/libsqlite3.so:(.bss+0x0): first defined here  
> /home/ubuntu/Desktop/myWorkspace/testsql/third-party/lib/libsqlite3.so:(.bss+0x4): multiple definition of `sqlite3_data_directory' third-party/lib/libsqlite3.so:(.bss+0x4): first defined here /home/ubuntu/Desktop/myWorkspace/testsql/third-party/lib/libsqlite3.so: In function `sqlite3\_status64’:  
> sqlite3.c:(.text+0x1ec): multiple definition of `sqlite3_status64' third-party/lib/libsqlite3.so:sqlite3.c:(.text+0x1ec): first defined here /home/ubuntu/Desktop/myWorkspace/testsql/third-party/lib/libsqlite3.so: In function `sqlite3\_mutex\_enter’:  
> sqlite3.c:(.text+0x5120): multiple definition of `sqlite3_mutex_enter' third-party/lib/libsqlite3.so:sqlite3.c:(.text+0x5120): first defined here /home/ubuntu/Desktop/myWorkspace/testsql/third-party/lib/libsqlite3.so: In function `sqlite3\_mutex\_leave’:  
> sqlite3.c:(.text+0x51b4): multiple definition of `sqlite3_mutex_leave' third-party/lib/libsqlite3.so:sqlite3.c:(.text+0x51b4): first defined here /home/ubuntu/Desktop/myWorkspace/testsql/third-party/lib/libsqlite3.so: In function `sqlite3\_status’:  
> sqlite3.c:(.text+0x30c): multiple definition of `sqlite3_status' third-party/lib/libsqlite3.so:sqlite3.c:(.text+0x30c): first defined here /home/ubuntu/Desktop/myWorkspace/testsql/third-party/lib/libsqlite3.so: In function `sqlite3\_db\_status’:  
> sqlite3.c:(.text+0x4a8): multiple definition of `sqlite3_db_status' third-party/lib/libsqlite3.so:sqlite3.c:(.text+0x4a8): first defined here /home/ubuntu/Desktop/myWorkspace/testsql/third-party/lib/libsqlite3.so: In function `sqlite3\_msize’:  
> sqlite3.c:(.text+0x5fdc): multiple definition of `sqlite3_msize' third-party/lib/libsqlite3.so:sqlite3.c:(.text+0x5fdc): first defined here /home/ubuntu/Desktop/myWorkspace/testsql/third-party/lib/libsqlite3.so: In function `sqlite3\_result\_error’:  
> sqlite3.c:(.text+0x47d2c): multiple definition of `sqlite3_result_error' third-party/lib/libsqlite3.so:sqlite3.c:(.text+0x47d2c): first defined here /home/ubuntu/Desktop/myWorkspace/testsql/third-party/lib/libsqlite3.so: In function `sqlite3\_stricmp’:  
> sqlite3.c:(.text+0xbf3c): multiple definition of `sqlite3_stricmp' third-party/lib/libsqlite3.so:sqlite3.c:(.text+0xbf3c): first defined here /home/ubuntu/Desktop/myWorkspace/testsql/third-party/lib/libsqlite3.so: In function `sqlite3\_strnicmp’:  
> sqlite3.c:(.text+0xc080): multiple definition of `sqlite3_strnicmp' third-party/lib/libsqlite3.so:sqlite3.c:(.text+0xc080): first defined here /home/ubuntu/Desktop/myWorkspace/testsql/third-party/lib/libsqlite3.so: In function `sqlite3\_value\_type’:  
> sqlite3.c:(.text+0x479a4): multiple definition of `sqlite3_value_type' third-party/lib/libsqlite3.so:sqlite3.c:(.text+0x479a4): first defined here /home/ubuntu/Desktop/myWorkspace/testsql/third-party/lib/libsqlite3.so: In function `sqlite3\_value\_double’:  
> sqlite3.c:(.text+0x47784): multiple definition of `sqlite3_value_double' third-party/lib/libsqlite3.so:sqlite3.c:(.text+0x47784): first defined here /home/ubuntu/Desktop/myWorkspace/testsql/third-party/lib/libsqlite3.so: In function `sqlite3\_value\_text’:  
> sqlite3.c:(.text+0x478f4): multiple definition of `sqlite3_value_text' third-party/lib/libsqlite3.so:sqlite3.c:(.text+0x478f4): first defined here /home/ubuntu/Desktop/myWorkspace/testsql/third-party/lib/libsqlite3.so: In function `sqlite3\_value\_bytes’:  
> sqlite3.c:(.text+0x4772c): multiple definition of `sqlite3_value_bytes' third-party/lib/libsqlite3.so:sqlite3.c:(.text+0x4772c): first defined here /home/ubuntu/Desktop/myWorkspace/testsql/third-party/lib/libsqlite3.so: In function `sqlite3\_result\_double’:  
> sqlite3.c:(.text+0x47cf8): multiple definition of `sqlite3_result_double' third-party/lib/libsqlite3.so:sqlite3.c:(.text+0x47cf8): first defined here /home/ubuntu/Desktop/myWorkspace/testsql/third-party/lib/libsqlite3.so: In function `sqlite3\_snprintf’:  
> sqlite3.c:(.text+0xa114): multiple definition of `sqlite3_snprintf' third-party/lib/libsqlite3.so:sqlite3.c:(.text+0xa114): first defined here /home/ubuntu/Desktop/myWorkspace/testsql/third-party/lib/libsqlite3.so: In function `sqlite3\_result\_text’:  
> sqlite3.c:(.text+0x47f20): multiple definition of `sqlite3_result_text' third-party/lib/libsqlite3.so:sqlite3.c:(.text+0x47f20): first defined here /home/ubuntu/Desktop/myWorkspace/testsql/third-party/lib/libsqlite3.so: In function `sqlite3\_context\_db\_handle’:  
> sqlite3.c:(.text+0x48934): multiple definition of `sqlite3\_context\_db\_handle’  
> .  
> .  
> .  
> .

[Previous page](https://mangoh.discourse.group/t/database-support/93.md?page=3)

[Next page](https://mangoh.discourse.group/t/database-support/93.md?page=5)
