OK, so I built a glew compatibility package from the Slackware 32-bit CD and installed it. Now I'm getting this error:
libGL: XF86DRIGetClientDriverName: 8.64.3 fglrx (screen 0)
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/fglrx_dri.so
libGL error: dlopen /usr/lib/xorg/modules/dri/fglrx_dri.so failed (/usr/lib/xorg/modules/dri/fglrx_dri.so: cannot open shared object file: No such file or directory)
libGL error: unable to load driver: fglrx_dri.so
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/swrast_dri.so
GLUT: Fatal Error in glinfo: visual with necessary capabilities not found.
I get the same error running /usr/bin/32/glewinfo.
Looking at the fglrx-x740-64a-8.64-x86_64-1 package, I see that there's a
/usr/lib64/xorg/modules/dri/fglrx_dri.so, but not a /usr/lib version. I've been trying to fool the ATI installer into thinking it's a 32-bit system with export ARCH=i486 and export ARCH=486 so I can build a 32-bit package, but it still creates files in the /usr/lib64 directory.