AGPL is a Copyleft license, so how can it be possible to use such library in an Apache licensed program? Isn’t the whole idea of Copyleft to make that impossible? To make sure that nobody can take away users freedoms?
I think what they meant on gnu.org is that you can use Apache licensed code in a GPL licensed program.
The combination of an Apache-licensed program and AGPLv3-licensed library is covered by both licenses, meaning that both need to be followed. This does not change the license of the program itself - the library could be replaced. Somebody could take away the users’ freedoms, but they would need to replace the library.
AGPL is a Copyleft license, so how can it be possible to use such library in an Apache licensed program? Isn’t the whole idea of Copyleft to make that impossible? To make sure that nobody can take away users freedoms?
I think what they meant on gnu.org is that you can use Apache licensed code in a GPL licensed program.
The combination of an Apache-licensed program and AGPLv3-licensed library is covered by both licenses, meaning that both need to be followed. This does not change the license of the program itself - the library could be replaced. Somebody could take away the users’ freedoms, but they would need to replace the library.
https://www.gnu.org/licenses/gpl-faq.html#IfLibraryIsGPL