kris27 n00b
Joined: 02 Jun 2010 Posts: 47 Location: Sydney
|
Posted: Mon Nov 11, 2013 3:00 am Post subject: Amd64 elfclass32 |
|
|
The program is binary PixInsight. I do not know how it was build. Trying to get it working .... but no chance, comes up with error:
~/PixInsight/bin $ ./PixInsight.sh
/home/kris/PixInsight/bin/./PixInsight: error while loading shared libraries: libgssapi_krb5.so.2: wrong ELF class: ELFCLASS32
Tried different libs - like lib64, in this case it managed to pass trough. but than could not load libraries from PixSight directory.
The actual shell script: -> I added the /usr/lib32 to it
~/PixInsight/bin $ more PixInsight.sh
#!/bin/bash
appname=`basename $0 | sed s,\.sh$,,`
dirname=`dirname $0`
if [ "${dirname:0:1}" != "/" ]; then
dirname=$PWD/$dirname
fi
LD_LIBRARY_PATH=/usr/lib32:$dirname:lib:$dirname
export LD_LIBRARY_PATH
$dirname/$appname $*
Any ideas please ... regards Kris |
|