[Guide] [SQLite] Chronicler on Linux

Due to human (non-bot) spam the first contribution of a user has to be reviewed and activated manually, all further contributions do not require this.
As long as a user does not have at least one reviewed and activated contribution, the user is unable to edit his profile, set a avatar, title picture or a signature.
  • The Guide

    This guide will explain the intricacies on how to run Chronicler mod (or any other mod that depends on SQLite) on Linux.

    The main difficulty of running it under Linux, stems from the fact that any SQLite project depends on the shared object, which has to be compiled per system and environment it is being run under.

    There are currently two ways to run such mods under Linux:

    1. Using prepared Docker Image of Eco Server.
    2. Compiling needed dependencies on your own system.

    Using Docker Image

    This is by far the easiest way to get SQLite dependent mods to run under Linux.

    All you need is my docker image that has the dependencies already embedded within itself.

    It can be found here: https://hub.docker.com/r/nidaren/eco-server

    The information is provided in the documentation under the link, in the Readme section.

    IMPORTANT: SQLite.Interop.dll from Mods/Chronicler folder will be automatically deleted, as this library is NOT compatible with Linux!

    Compiling the dependencies

    This is more involved method, for when you do not want to use Docker.

    Firstly, ensure you have root access to your system.

    The next steps may differ from mod to mod, but in case of Chronicler, the steps are as follows:

    1. Download the following SQLite source code package: sqlite-netFx-full-source-1.0.116.0.zip
    2. Extract it to , for example sqlbuild folder.
    3. Change directory to sqlbuild/Setup
    4. Execute script compile-interop-assembly-release.sh
    5. File will be compiled to sqlbuild/bin/2013/Release/bin/
    6. Copy the file libSQLite.Interop.so (make sure file starts with lib not SQL) from sqlbuild/bin/2013/Release/bin/ to /usr/lib
    7. After that Chronicler will have all it needs to run on Linux.
    8. This dependency must be compiled per system.

    IMPORTANT: DELETE file SQLite.Interop.dll from /Mods/Chronicler. This file is not compatible with Linux and is not required once the Linux dependency is present.

    Edited 12 times, last by nid (February 3, 2023 at 1:20 AM).

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!