[mapserver-users] Mapscript and Python: no mapscriptc module.

Ben Logan ben at wblogan.net
Mon Apr 8 11:10:16 EDT 2002


On Mon, Apr 08, 2002 at 07:09:00AM -0400, Ben Logan wrote:
> 
> I have a feeling this could go on for a while.  As you can probably
> tell, I don't know too much about building libraries. :) Can anyone
> help me out?  BTW, I'm using MapServer 3.5 and you can see my system
> setup from the errors above.

I thought I'd keep adding libraries to ld's commandline until I didn't
get undefined symbol messages anymore.  I got to

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

Any suggestions?

Thanks,
Ben

-- 
Ben Logan: ben at wblogan dot net
OpenPGP Key KeyID: A1ADD1F0

He who has a shady past knows that nice guys finish last.



More information about the mapserver-users mailing list