[mapserver-users] Please help with Python Mapscript module
Ben Logan
ben at wblogan.net
Wed Apr 10 02:59:34 PDT 2002
Perhaps no-one saw my last posts? Or does no-one know what to do?
I'm trying to get the Python Mapscript module to compile/link. I have
run the following commands:
gcc -c mapscript_wrap.c -I/usr/include/python1.5 -o mapscriptcmodule.o
ld -o mapscriptcmodule.so mapscriptcmodule.o -shared ../../libmap.a /usr/local/lib/libproj.a /usr/local/lib/libgdal.1.1.so
and then when I tried to import the mapscript module, Python gave this
message:
Python 1.5.2 (#1, Mar 3 2001, 01:35:43) [GCC 2.96 20000731 (Red Hat
Linux 7.1
2 on linux-i386
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import mapscript
Traceback (innermost last):
File "<stdin>", line 1, in ?
File "mapscript.py", line 2, in ?
import mapscriptc
ImportError: (Èd at R6/lib/libX11.so.6: shared object not open
Can anyone tell me what I am doing wrong, or is the Python module just
broken?
Thanks,
Ben
--
Ben Logan: ben at wblogan dot net
OpenPGP Key KeyID: A1ADD1F0
More information about the MapServer-users
mailing list