Skip to contentSkip to conversation

That getpagesize() problem again!

Linux-ia64 Bill Nottingham 1 participant 1 message Jan 25, 2001

lore
Share & tools
lore
#0 lore raw
Quoted 8 lines · Francis Galiegue

When trying to install only two packages via RPM in a chroot, this is what I get:

rpm: ../sysdeps/unix/sysv/linux/ia64/getpagesize.c:36: __getpagesize: Assertion `_dl_pagesize != 0'
failed.

Then, abort and core dump.

The page size stuff was broken in glibc for a few days (right around 2.2.1) in where it didn't work for static binaries (they'd explode as soon as they tried to use NSS.)

Once you get a version of glibc that fixes this, you need to rebuild all static binaries that use NSS (e.g., rpm); then it should work.

Bill