Skip to content

Compiling module on Ubuntu Jammy @ orangepi5 #1

@watbywbarif

Description

@watbywbarif

Trying to compile module on orangepi5, Ubuntu Jammy.

I have downloaded same nginx source version as installed on system and compiled successfully with:

sudo ./configure --add-dynamic-module=/mnt/prepp_sources/maps/mbtiles/ngx_http_mbtiles_module --build=aarch64
sudo make modules

But when I try to load .so with sudo nginx -s reload i get:

nginx: [emerg] module "/usr/lib/nginx/modules/ngx_http_mbtiles_module.so" is not binary compatible in /etc/nginx/nginx.conf:5

I am linux build newb, so I could have missed something obvious, but if I compile it on some machine with arm architecture, I expect that it will be compatible with that machine. Without --build=aarch64 also the same??

Exact OS is:

Armbian 23.8.1 Jammy with Linux 5.10.160-legacy-rk35xx
uname -m
aarch64

CPU is Rockchip-RK3588S

 Quad-core ARM Cortex-A76 MPCore processor and quad-core ARM Cortex-A55 MPCore
processor, both are high-performance, low-power and cached application processor
 DSU (DynamIQ Shared Unit) comprises the L3 memory system, control logic, and
external interfaces to support a DynamIQ cluster
 Full implementation of the ARM architecture v8-A instruction set, ARM Neon Advanced
SIMD (single instruction, multiple data) support for accelerating media and signal
processing
 ARMv8 Cryptography Extensions

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions