error while loading shared libraries
I have the following 2 systems with:
- Red Hat with 2.4.19 kernel
- Suse with 2.6.5-0 kernel
Both have programs compiled with i386 arch:
redhat# file /bin/bash
/bin/bash: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.0.0, dynamically linked (uses shared libs), stripped
suse# file /bin/bash
/bin/bash: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), stripped
But, Suse doesn't have gcc installed. So I cannot install my favorite programs.
FYI, I'm not allowed to install any rpm's on these systems. I do have root access.
Because both systems use the i386 arch, I tried copying one program (in this case objdump). I already knew I could expect errors:
objdump: error while loading shared libraries: libopcodes-184.108.40.206.2.so: cannot open shared object file: No such file or directory
Of course I did a search on the forum and I found that there could be a lot of libraries involved.
When I review my problem, the best course of action would be to recompile the program on the Red Hat system and include the libraries in the binary.