Mapscript issues... {Scanned}

Siki Zoltan siki at AGT.BME.HU
Tue Dec 28 17:32:54 EST 2004


Hi,

Did you build mapserv and mapscript from source of use an RPM?

Is the /usr/local/nushpere/lib in the /etc/ld.so.conf?
Is the libgd.so.2 in that directory?
If not add it to the end and run ldconfig to read the new configuration.
Was the mapserv built/configured --with-gd and --with-proj?

You may had better to move libgd to usual place /usr/lib or
/usr/local/lib.

If you get error about projection than probably you should load
php_proj.so
dl("php_proj.so");

I only guess ...

Bye
Zoltan

On Tue, 28 Dec 2004, Jeff Portwine wrote:

> 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