I need to run a 32-bit X11 application on a 64-bit system. I do not have access to the source code (which is not 64-bit clean) so I cannot recompile.
It calls libX11.so.6, so I blindly copied this shared library from a 32-bit system to /usr/local/lib32 on my 64-bit system. This is not a solution as libX11.so.6 calls other shared libraries found in /usr/local/lib. Of course, it is not enough to copy 32-bit versions of these shared libraries to /usr/local/lib32 without somehow modifying the /usr/local/lib prefix compiled into libX11.so.6.
Must I run my 32-bit X11 application under a 32-bit chroot environment? Or can someone suggest a way to build and install libX11.so.6 and dependencies as a 32-bit compatibility?
Thank you
Code:
$ file x11
x11: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), dynamically linked (uses shared libs),
for FreeBSD 8.2, stripped
It calls libX11.so.6, so I blindly copied this shared library from a 32-bit system to /usr/local/lib32 on my 64-bit system. This is not a solution as libX11.so.6 calls other shared libraries found in /usr/local/lib. Of course, it is not enough to copy 32-bit versions of these shared libraries to /usr/local/lib32 without somehow modifying the /usr/local/lib prefix compiled into libX11.so.6.
Must I run my 32-bit X11 application under a 32-bit chroot environment? Or can someone suggest a way to build and install libX11.so.6 and dependencies as a 32-bit compatibility?
Thank you