Hi, >wrong ELF class: ELFCLASS32 As far as I know this a standard linux message meaning that you are pointing a 32bit shared object on 64 bit platform.
Some notes about your problem: 1- why did you copy hashlib.py and _md5.so to $SCRIPT_ROOT? I don't have them in that directory and there is no problem. 2- Two usefull linux commands regarding the shared objects are "file" and "ldd". So what is the output of "ldd _md5.so" and "file _md5.so". As I pointed, there is no need to have such files in $SCRIPT_ROOT. Remove them from $SCRIPT_ROOT and see what will happen. // Naderan *Mahmood; ________________________________ From: sparsh1 mittal1 <[email protected]> To: [email protected] Sent: Tue, January 18, 2011 8:44:36 PM Subject: import md5 problem Hello List I am trying to run run_job for creation of flex-points. However, I am facing the error, that after running for sometime, the simics stops with the error: Confirm valid output...Done Need to copy simics-state...remove flexus_ and dma_tracer references...moving...munge...Traceback (most recent call last): File "/DIR/flexus-4.0/SCRIPT_ROOT/munge-checkpoint.py", line 3, in ? import lex, yacc File "/DIR/flexus-4.0/SCRIPT_ROOT/yacc.py", line 71, in ? import re, types, sys, cStringIO, hashlib, os.path File "/DIR/flexus-4.0/SCRIPT_ROOT/hashlib.py", line 133, in ? md5 = __get_builtin_constructor('md5') File "/DIR/flexus-4.0/SCRIPT_ROOT/hashlib.py", line 60, in __get_builtin_constructor import _md5 ImportError: /DIR/flexus-4.0/SCRIPT_ROOT/_md5.so: wrong ELF class: ELFCLASS32 Munge failed! The files hashlib.py and _md5.so have been copied from python installation for another software. -- Thanks and Regards Sparsh Mittal Graduate Student Electrical and Computer Engineering Iowa State University, Iowa, USA
