[odb-users] Compiling libodb-mysql fails on aarch64

Boris Kolpackov boris at codesynthesis.com
Mon Oct 21 11:47:08 EDT 2019


Naveen Akkapeddi <naveen.akkapeddi at apex.ai> writes:

> I am running into an issue building the plugin `libodb-mysql` on `aarch64`
> architecture.
> It appears the version of SSL that's included doesn't have configuration
> files for `aarch64`.
> Here is the error output when running `bpkg build libodb-mysql`
> 
> In file included from
> /home/ubuntu/odb-build/odb-gcc-X/libcrypto-1.1.1+4/libcrypto/downstream/internal/dso_conf.h:12:0,
>                  from
> /home/ubuntu/odb-build/odb-gcc-X/libcrypto-1.1.1+4/libcrypto/crypto/init.c:27:
> /home/ubuntu/odb-build/odb-gcc-X/libcrypto-1.1.1+4/libcrypto/downstream/internal/dso_conf/platform.h:53:6:
> error: #error unknown architecture
>  #    error unknown architecture
>       ^~~~~
> 
> How do I proceed? Can I drop in upstream openSSL config for ARM64?

You can certainly try (there is a description[1] of how they are ported)
and if you succeed, please send it along so that we can include it into
the package.

If that doesn't work, you should be able to fallback to the system-
installed openssl:

bpkg build libodb-mysql ?sys:libcrypto ?sys:libssl

[1] https://github.com/build2-packaging/openssl/blob/master/README-DEV



More information about the odb-users mailing list