From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux ia64; en-US; rv:1.8a2)
Description of problem:
On ia64, the i686 glibc rpms are installed under /emul/ia32-linux.
The /emul/ia32-linux/etc/ld.so.conf and /emul/ia32-linux/etc/ld.so.cache
files are not created however. This has the end result that some
ia32 libraries are not found when running an ia32 app on ia64.
$ file setup
setup: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for
GNU/Linux 2.0.0, dynamically linked (uses shared libs), stripped
./setup: error while loading shared libraries: libX11.so.6: cannot
open shared object file: No such file or directory
$ find /emul/ia32-linux -name libX11.so.6
$ ll /emul/ia32-linux/usr/X11R6/lib/libX11.so.6
lrwxrwxrwx 1 root root 13 May 19 13:34
/emul/ia32-linux/usr/X11R6/lib/libX11.so.6 -> libX11.so.6.2
Copy /etc/ld.so.conf to /emul/ia32-linux/etc/ld.so.conf and run
ldconfig -r /emul/ia32-linux and everything runs fine.
The ld.so.conf file install via the glibc rpm is zero-length with
the noreplace config flag, which leads me to believe it is
created somewhere else during the installation. Not sure how this
should be addressed for the i686 glibc rpm that is installed on an
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Run an ia32 app that requires an X library on an ia64 box (I was
using the OpenOffice.org 1.1.1 installer in this case).