Run 32-bit executables on 64-bit system with shared libraries.
I'm logging into a remote 64-bit Linux box via 'ssh'. This remote system doesn't have the ia32-libs package installed, and I don't have root access. So I unpacked the 32-bit libraries myself from the various packages, to a convient directory. I then successfully ran a 32-bit program with this:
$ /path/to/ld-linux.so.2 --library-path /path/to/32-bit-libs ./32-bit-exe
However, the command is actually invoked by the ant build system - at which point even LD_LIBRARY_PATH seems to be ignored. And I get a file not found error.
I would like to preserve the 32-bit ld path. I'm running the 64-bit apache-ant.
|