Mapscript issues... {Scanned}

Ethan Alpert ealpert at DIGITALGLOBE.COM
Tue Dec 28 09:27:18 PST 2004


Remember also that you are using the LD_SEARCH_PATH of your httpd when
running as php. So just because something is found when you run ldd in
your shell does not mean that apache or whatever web server you're using
can find the .so.

Make sure that all the paths below *and* the path to your
php_mapscript.so appear in the output of phpinfo()

-e

-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of Jeff Portwine
Sent: Tuesday, December 28, 2004 9:20 AM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-USERS] Mapscript issues... {Scanned}


Here is the output of  ldd php_mapscript.so.
I'm not entirely sure what I'm looking for here.    The only thing
strange
that jumps out at me is that I installed the gd libs in /usr/local/lib
and
this is showing gd libraries in /usr/local/nushpere/lib.    Other than
that
I can't really tell that there is anything missing or wrong.

I've tried running some of the other examples besides hello.phtml and I
get an error that says "loadProjection(): Projection support is not
available. It's very confusing... I wish I could find a beginners
tutorial that took me through the basics of the mapserver.. let me know
where to put files, etc. Instead of looking around in various places for
examples when I don't even know where exactly I should be putting the
example files.



ldd php_mapscript.so
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x400a7000)
        libz.so.1 => /usr/lib/libz.so.1 (0x400f8000)
        libiconv.so.2 => /usr/lib/libiconv.so.2 (0x40106000)
        libgd.so.2 => /usr/local/nusphere/lib/libgd.so.2 (0x401dd000)
        libm.so.6 => /lib/tls/libm.so.6 (0x40216000)
        libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x40238000)
        libc.so.6 => /lib/tls/libc.so.6 (0x42000000)
        libjpeg.so.62 => /usr/local/nusphere/lib/libjpeg.so.62
(0x402ec000)
        libpng12.so.0 => /usr/local/nusphere/lib/libpng12.so.0
(0x4030e000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40336000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)


Thanks for any help, it is appreciated.

-Jeff
----- Original Message -----
From: "Siki Zoltan" <siki at AGT.BME.HU>
To: <MAPSERVER-USERS at LISTS.UMN.EDU>
Sent: Tuesday, December 28, 2004 1:04 PM
Subject: Re: [UMN_MAPSERVER-USERS] Mapscript issues... {Scanned}


> Hi,
>
> Check your php_mapscript.so using ldd
>
> ldd php_mapscript.so
>
> You will get a list of loadable libraries which the mapscript depends 
> on. Probably the libgd missing or the version is old or the directory 
> of the so file is not in the /etc/ld.so.conf file, see man ldconfig.
>
> I hope it helps you.
>
> Bye
> Zoltan



More information about the MapServer-users mailing list