Apache OpenOffice (AOO) Bugzilla – Issue 16150
OO.org 1.1rc will not install on system with glibc 2.1.3
Last modified: 2004-08-12 17:29:11 UTC
(Maybe the glibc requirements have changed. ???) Attempting on install OO.org Linux 1.1rc build a on RH6.2 glibc 2.1.3 system reports error - glibc at least 2.2.0 required.
change incorrect summary
Hi Martin, we have changed the system requirements for SO 6.1 to glibc 2.1.3 to 2.2. We also should communicate this change on OOo too.
mh->sander: please reply on my mail from 2003/04/15 that glibc 2.2 now is required, thanks.
Confirming issue.
I received several complaints from users who could not install Dutch localized OOo versions (built with glibc >2.1.3) on their glibc 2.1.3 systems, so these users are really out there. According to http://www.openoffice.org/servlets/ReadMsg? msgId=733679&listName=releases , it should be quite easy to add a check on the glibc version and suppress the madvise-with-MADV_WILLNEED call if the version is <2.2. If this is true, please implement it. It seems a shame that the system requirements should be changed between a beta and a release candidate, for hardly a good reason.
Workaround: glibc 2.1.3 build patch: The following patch introduces a --enable-glibc-2-1-3 configure switch to compile ooo on a glibc 2.1.3 system. It provides upwards compability on glibc 2.1.3 builds, i.e. by determining glibc version at runtime, madvise() with MADV_WILLNEED will be called if at least glibc 2.2 is used. Glibc 2.2 builds (without the switch) behave like before. If you need a diff against ooo11rc2, please let me know, i wasn't able to checkout a complete rc2 this time.
Created attachment 7442 [details] cws_srx645_ooo11rc_glibc2_1_3.patch
the documentation now specifies glibc 2.2.0 as the minimum requirement. i filed an enhancement for the patch part of this issue - #16848# svesik->holgerth have you signed jca ?
holgerth->svesik: Yes, i signed jca. I'm forwarding Eric's confirmation mail to you just in case you need it.
Closing ...