how_to_rebuild_mariadb_against_readline_in_debian
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| how_to_rebuild_mariadb_against_readline_in_debian [2023/08/23 07:06] – abeverley | how_to_rebuild_mariadb_against_readline_in_debian [2026/10/17 08:43] (current) – abeverley | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| As I understand it, Debian is no longer able to distribute MariaDB built against readline as the former is GPL2 and the latter GPL3, and apparently the 2 are incompatible for distribution. | As I understand it, Debian is no longer able to distribute MariaDB built against readline as the former is GPL2 and the latter GPL3, and apparently the 2 are incompatible for distribution. | ||
| - | The following instructions build a new Debian packages against readline: | + | For Bookworm: |
| + | # Ensure that latest source packages are pulled: | ||
| + | apt-get update | ||
| + | # Install build dependencies | ||
| apt install build-essential devscripts libreadline-dev | apt install build-essential devscripts libreadline-dev | ||
| - | apt build-dep mariadb-client-core-10.5 | + | apt build-dep mariadb |
| + | apt build-dep readline | ||
| su <unpriv user> | su <unpriv user> | ||
| - | apt source mariadb-client-core-10.5 | + | |
| - | cd mariadb-10.5-10.5.19/ | + | |
| + | cd mariadb-10.11.19/ | ||
| | | ||
| Edit '' | Edit '' | ||
| - | mariadb-10.5 (1:10.5.19-0+deb11u2c) bullseye; urgency=medium | + | mariadb (1:10.11.19-0+deb12u1a) bookworm-security; urgency=medium |
| | | ||
| * Build against readline instead of libedit | * Build against readline instead of libedit | ||
| | | ||
| - | -- Andy Beverley < | + | -- Andy Beverley < |
| Edit '' | Edit '' | ||
| Line 32: | Line 37: | ||
| Edit '' | Edit '' | ||
| + | |||
| + | For Bookworm and later, edit '' | ||
| debuild -uc -us -b | debuild -uc -us -b | ||
how_to_rebuild_mariadb_against_readline_in_debian.1692774383.txt.gz · Last modified: by abeverley
