import error
Galen Swint
hcsgss at texlife.com
Fri Jul 20 14:17:01 EDT 2001
Hello,
I'm receiving the following error on AIX 4.3 for a shared module I built:
Traceback (innermost last):
File "pytestim.py", line 5, in ?
import imdpdf
ImportError: from module imdpdfmodule.so Exec format error
Can anyone tell me how to extract more information about the error? Or, better,
how to fix it?
imdpdfmodule.so was created with the following:
./ld_so_aix gcc -Wl,-brtl -o imdpdfmodule.so -einitimdpdf imdpdfmodule.o
libimagedocpdf.o pcl_pdf_render.o /usr1/hcsgss/libimagedoc/libimagedoc.so
-Wl,-bloadmap:imdpdfmodule.map -L$(PDFLIBHOME)/lib -lpdf -L$(XMTHOME)/Xmt
-L$(XRTHOME)/lib -L$(XRTHOME)/src/tools -L/usr/lib/X11
-L$(IMAGEMAGICKHOME)/magick/.libs -L/usr/local/lib -L$(T1LIBHOME)/lib -lMagick
-ljbig -ljpeg -lmpeg -ltiff -lpng -lz -lXm -lXt -lX11 -lXext -ldl -lt1
Thanks,
Galen Swint
P.S. I vote case sensitivity, '//' for integer/integer division, and if you
change integer division (and/or case), the interpreter should be released under
3.0
More information about the Python-list
mailing list