[MDEV-11925] Migrate to more modern libreadline Created: 2017-01-27  Updated: 2017-05-25  Resolved: 2017-05-25

Status: Closed
Project: MariaDB Server
Component/s: Compiling, Packaging
Fix Version/s: N/A

Type: Task Priority: Minor
Reporter: Julian Gilbey Assignee: Sergei Golubchik
Resolution: Won't Fix Votes: 0
Labels: None


 Description   

At the moment, at least in the debian/control file in the repository, mariadb depends on libreadline5, which is ancient (last upstream update was over 10 years ago). To build mariadb on my machine, I have to either work in a chroot environment or remove a dozen other packages which conflict with the libreadline-gplv2-dev package.

Is there any hope of updating mariadb to use libreadline7 (the current version of the library) instead?



 Comments   
Comment by Sergei Golubchik [ 2017-05-25 ]

No, unfortunately, there is no hope of MariaDB using libreadline7. MariaDB is licensed under GPLv2 and we cannot change that. But the latest libreadline that was licensed under GPLv2 was readline 5. Starting from version 6 libreadline uses GPLv3, which is incompatible with GPLv2, so we are legally not allowed to distribute MariaDB binaries linked with GPLv3.

But you build MariaDB yourself — if you use -DNOT_FOR_DISTRIBUTION=ON option, you will be able to link with GPLv3 libreadline. You'll get a warning that distributing the resulting binary is illegal, though.

Generated at Thu Feb 08 07:53:43 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.