When using the X11R6 binaries from the 2.1 release you will get
errors like:
# mkfontdir
mkfontdir: undefined symbol: 'astpending' 12
Segmentation fault (core dumped)
this is due to a little problem affecting the compatibility between
the OpenBSD/arc port (on which the X11R6 clients were build) and
OpenBSD/pmax. You can work around this problem by using the arc
version of the shared libc instead of the pmax one. You may get a copy
of the OpenBSD/arc 2.1 libc.so.16.1 from
here . Simply download it and do the following:
# cd /usr/lib
# mv libc.so.16.1 original_libc.so.16.1
# cp /where_you_have_downloaded_it_to/libc.so.16.1 .
# chown root.bin libc.so.16.1
# chmod 444 libc.so.16.1
Please be careful while doing this - because the libc is a very
sensitive part of the system. You can remove the original_libc.so.16.1
after the next reboot if everything is working fine.