Hello,
My system is RHEL 8.0 x86_64.
I installed software and after attempting to execute it I encountered the errors below:
- error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
error
- error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
error
I uninstalled and reinstalled the libraries. I confirmed the files do exist in both /usr/lib and /usr/lib64. After setting the LD_LIBRARY_PATH to /usr/lib:/usr/lib64, the error changed to the following errors:
- error while loading shared libraries: libc.so.6: wrong ELF class: ELFCLASS32
- error while loading shared libraries: libdl.so.2: wrong ELF class: ELFCLASS64
I tried running the software in a 32-bit VM, but encountered the same error.
Any thoughts on how to fix this issue?