I am trying to run a 32 bit game in 64 bit Ubuntu Linux. I have the 32 libs, however ldd shows that the program is trying to use a 64 bit lib instead of the 32 bit lib. I have the 32 bit lib installed. How do I get the game to use it instead?
Code:
chris@ubuntu:/usr/local/games/legends$ ldd LinLegends
linux-gate.so.1 => (0xffffe000)
libpthread.so.0 => /lib32/libpthread.so.0 (0xf7ed3000)
libdl.so.2 => /lib32/libdl.so.2 (0xf7ecf000)
libX11.so.6 => /usr/lib32/libX11.so.6 (0xf7ddd000)
libXext.so.6 => /usr/lib32/libXext.so.6 (0xf7dcf000)
librt.so.1 => /lib32/librt.so.1 (0xf7dc6000)
libSDL-1.3.so.0 => ./libSDL-1.3.so.0 (0xf7d54000)
libm.so.6 => /lib32/libm.so.6 (0xf7d2d000)
libc.so.6 => /lib32/libc.so.6 (0xf7bec000)
/lib/ld-linux.so.2 (0xf7efe000)
libXau.so.6 => /usr/lib32/libXau.so.6 (0xf7be8000)
libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf7be3000)
chris@ubuntu:/usr/local/games/legends$ ldd LinLegends | grep not
chris@ubuntu:/usr/local/games/legends$ runlegends
chris@ubuntu:/usr/local/games/legends$ ./LinLegends
Segmentation fault (core dumped)
chris@ubuntu:/usr/local/games/legends$
chris@ubuntu:/usr/local/games/legends$ linux32 runlegends
chris@ubuntu:/usr/local/games/legends$ linux32 ./LinLegends
Segmentation fault (core dumped)
chris@ubuntu:/usr/local/games/legends$
Maybe I am wrong. Does anyone know why the game isn't working. It does work when I start it from the gui installer, but I would have to reinstall the game everytime I wanted to use if I kept doing that.