/_mapscript.so: wrong ELF class: ELFCLASS32

James McManus jmpmcmanus at GMAIL.COM
Tue Jul 31 23:00:25 EDT 2007


I downloaded FGS - Development MapServer and installed it as described at:

http://mapserver.gis.umn.edu/development/release_plans/mapserver_5_0/fgs-msx-5.0/

The installation went well and I was able to display maps through a
mapserver HTML initialization interface and a ka-map interface, which used
PHP mapscripts. However, I had problems using a Python mapscript, which
produced the following error:

Traceback (most recent call last):
  File "/opt/fgs/www/cgi-bin/MDI.py", line 3, in <module>
    import mapscript
  File "/opt/fgs/www/lib/python2.4/mapscript.py", line 6, in <module>
    import _mapscript
ImportError: /opt/fgs/www/lib/python2.4/_mapscript.so: wrong ELF class:
ELFCLASS32
[Tue Jul 31 22:47:21 2007] [error] [client 127.0.0.1] Premature end of
script headers: /opt/fgs/www/cgi-bin/MDI.py

I use a x86_64 machine, so is there a lib64 version of FGS _mapscript.so?

Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20070731/773b32e2/attachment.html


More information about the mapserver-dev mailing list