On my 64-bit RHEL machine, I'm compiling and running a C & Fortran program that is 32-bit only. It invokes the non-static version of a lot of standard Linux libs (X11, OpenGL/Mesa, Motif, etc...), which of course invoke other libs (libjpeg, libc, etc). Do I have to install the 32-bit versions of that entire devl lib tree in order to build this program validly? And do I have to install the 32-bit versions of that entire run-time lib tree in order to run it without it segfaulting or whatever?
Asked
Active
Viewed 109 times
1 Answers
3
Yes, you need 32-bit versions of the libraries, since the binaries are compiled as 32-bit versions, which assume 32-bit memory model on the libraries too.
Tero Kilkanen
- 38,887