← Back to team overview

maria-developers team mailing list archive

Re: crosscompiling in buildroot: cannot find -laio and other link error

 

Hi, Sylvain!

On Sep 25, Sylvain Raybaud wrote:
> Hi
> 
> I'm trying to get the latest version of mariadb-galera (10.0.21) into
> buildroot. I'm running into two errors which I have a feeling are
> related. But I may be wrong.
> 
> These problems arise during the build of the host variant of the
> package. I get the two following errors (build does not stop at the
> first one because they happen in parallel jobs):
...
> It basically comes down to have cmake look for shared libraries in the
> right place, but I don't seem to be able to determine which lever to
> pull. Any hint as to how to achieve that is therefore welcome.

Why would you build host variant for ha_connect.so with the library
paths for the target architecture? How do you invoke cmake?

Did you check https://mariadb.com/kb/en/mariadb/cross-compiling-mariadb/ ?

Regards,
Sergei


Follow ups

References