Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Amd64 elfclass32
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
kris27
n00b
n00b


Joined: 02 Jun 2010
Posts: 26
Location: Sydney

PostPosted: Mon Nov 11, 2013 3:00 am    Post subject: Amd64 elfclass32 Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum