# Error while loading shared libraries: Internal Error

**URL:** <https://mangoh.discourse.group/t/error-while-loading-shared-libraries-internal-error/10286>\
**Category:** mangOH Green\
**Created:** [May 9, 2023, 2:04pm UTC](https://mangoh.discourse.group/t/error-while-loading-shared-libraries-internal-error/10286 "2023-05-09T14:04:22Z")\
**Posts on this page:** 1\
**Showing post:** 30

<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:** [May 24, 2023, 9:41am UTC](https://mangoh.discourse.group/t/error-while-loading-shared-libraries-internal-error/10286/30 "2023-05-24T09:41:24Z")

</div>

I diff your libcustom\_Arm.so and standard library like libssl.so.1.0.2 , it seems to be a bit different to a normal library, not sure if it is related to the **internal error** when loading the library:

**libcustom\_Arm.so: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, BuildID[sha1]=7aac04ea29ab20ac8de64e31d9295, with debug\_info, not stripped**

```auto

owner@ubuntu:~$ file /opt/swi/y22-ext/sysroots/armv7a-neon-poky-linux-gnueabi/usr/lib/libssl.so.1.0.2 
/opt/swi/y22-ext/sysroots/armv7a-neon-poky-linux-gnueabi/usr/lib/libssl.so.1.0.2: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, BuildID[sha1]=8ec623fe775f879f2a4e32cad24d38ee7bc4e71e, stripped

```

BTW, here has an example on how to load 3rd party library libsqlite3.so in the application, it should be similar to your situation.  
You can see whether it has problem to load the 3rd party libarary.

> [@Database Support](https://mangoh.discourse.group/t/database-support/93/15):
>
> Hi Nila , Please download the Source code present [https://sqlite.org/download.html](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 sqlite3.h in third-party/inc/ sqlite3.c in third-party/src/ Create a Makefile in path third-party/src/ vi Makefile add following lines export TOOLCHAIN\_DIR:=/opt/swi/y17-ext/sysroots/x86\_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi GCC = ${TOOLCHAIN…

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

If it works, try to port your code to this application

---

_[View the full topic](https://mangoh.discourse.group/t/error-while-loading-shared-libraries-internal-error/10286)._
