Start up errors with CentOS 5,2 Linux

Hi, I've been trying to start up screen scraper on CentOS 5.2 Linux 64 Bit with no joy.

The fix listed in the forums must be for an old version of screen scraper as the file names and file contents are different. I have tried to use the tar file and the server seems to start ok, however, the screen-scraper GUI bombs with loads of shared library errors. I have tried exporting different LD_LIBRARY_PATHs but all fail:

# ./screen-scraper
awk: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/bin/ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
grep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/usr/bin/gij: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory

# find / -name librt.so.1
/lib64/rtkaio/librt.so.1
/lib64/librt.so.1
/lib/i686/nosegneg/librt.so.1
/lib/rtkaio/i686/nosegneg/librt.so.1
/lib/rtkaio/librt.so.1
/lib/librt.so.1
# export LD_LIBRARY_PATH="/lib"
# ./screen-scraper
awk: error while loading shared libraries: libdl.so.2: wrong ELF class: ELFCLASS32
dirname: error while loading shared libraries: libc.so.6: wrong ELF class: ELFCLASS32
/bin/ls: error while loading shared libraries: librt.so.1: wrong ELF class: ELFCLASS32
basename: error while loading shared libraries: libc.so.6: wrong ELF class: ELFCLASS32
dirname: error while loading shared libraries: libc.so.6: wrong ELF class: ELFCLASS32
basename: error while loading shared libraries: libc.so.6: wrong ELF class: ELFCLASS32
grep: error while loading shared libraries: libc.so.6: wrong ELF class: ELFCLASS32
/usr/bin/gij: error while loading shared libraries: libpthread.so.0: wrong ELF class: ELFCLASS32

Please help !

Yes, we've seen this problem

Yes, we've seen this problem a few times in the past. The issue has to do with the "install4j" installer program that we use. You'll have to tell screen-scraper to use a global JRE instead of the one that comes packaged in screen-scraper.

I've written up an FAQ to reference the problem. It can be found at the following address:

http://community.screen-scraper.com/node/1089

Please let me know if that solves the problem.

Tim