[Mapserver-users] php_mapscript.so loading problem
Rodolfo Federico Gamarra
rgamarra at dc.uba.ar
Mon Jun 30 05:42:20 PDT 2003
That's it!!! Thank you very much!!
On Mon, 30 Jun 2003, Vincent Schut wrote:
> Date: Mon, 30 Jun 2003 12:21:32 +0200
> From: Vincent Schut <schut at sarvision.com>
> To: Rodolfo Federico Gamarra <rgamarra at dc.uba.ar>
> Cc: mapserver-users at lists.gis.umn.edu
> Subject: Re: [Mapserver-users] php_mapscript.so loading problem
>
> Rudolfo,
>
> (please reply also to the list 'cause others might either learn from our
> discussion or have more knowledge than I have :))
>
> It appears that your php_mapscript.so links to a libgd that it (or the dynamic
> linker) cannot find.
> What does 'ldd php_mapscript.so' give you as output? Probably a libgd that
> cannot be found...
> Is the installation path of your libgd (probably /usr/local/lib) in your
> LD_LIBRARY_PATH environment variable, or in your /etc/ld.so.conf? It should
> be, otherwise the dynamic linker will not be able to find it if mapserver
> requires it.
> If it is, did you run 'ldconfig' (as root) after installing libgd?
>
> Cheers,
> Vincent.
>
> On Thursday 26 June 2003 18:36, Rodolfo Federico Gamarra wrote:
> > Thanks, good idea. I'll take a look at the error:
> >
> > 7:Jun 26 10:17:07 myEWS php: PHP Warning: Unknown(): Unable to load
> > dynamic library '/usr
> > /local/apache2/modules/php_mapscript.so' - libgd.so.2: cannot open shared
> > object file: No such file or directory in Unknown on line 0
> >
> > Thanks again for your quick response,
> >
> > On Thu, 26 Jun 2003, Vincent Schut wrote:
> > > Date: Thu, 26 Jun 2003 17:13:53 +0200
> > > From: Vincent Schut <schut at sarvision.com>
> > > To: Rodolfo Federico Gamarra <rgamarra at dc.uba.ar>,
> >
> > mapserver-users at lists.gis.umn.edu
> >
> > > Subject: Re: [Mapserver-users] php_mapscript.so loading problem
> > >
> > > If php tried to load php_mapscript.so but did not succeed, probably there
> > > is a message aboug that in your server log which might give you a hint
> > > about why.
> > >
> > > Cheers,
> > > Vincent.
> > >
> > > On Thursday 26 June 2003 16:26, Rodolfo Federico Gamarra wrote:
> > > > Hi,
> > > > I've trying to install php_mapscript. I've followed the standard
> > > > procedure of making the file and then copying it to the directory where
> > > > php looks for extensions (set in php.ini).
> > > > Then to see if everything went right I made a ".php" where I load (or,
> > > > at least, try to :-)) the ".so" with dl and se call phpinfo(). In the
> > > > info shown by phpinfo there's no sign of mapscript. Then to make more
> > > > checks I added an if to capture de return value of dl and also used
> > > > extension_loaded after dl to see if it's loaded. Well, the result of
> > > > both functions says it isn't loaded the ".so". I also loaded the file
> > > > "/mapscript/php3/example/test_draw_map.phtml", all I see is a grey page
> > > > with the title "PHP/MapScrpt module test", without a map.
> > > > I'm running RedHat 8, with:
> > > > Apache - httpd-2.0.45
> > > > Mapserver - mapserver-3.6.5
> > > > Php - php-4.3.1
> > > > GD - gd-2.0.12
> > > >
> > > > Well, that's the problem; any idea?
> > > > Thanks,
> > > >
> > > > ----
> > > > Rodolfo Federico Gamarra
> > > >
> > > >
> > > > _______________________________________________
> > > > Mapserver-users mailing list
> > > > Mapserver-users at lists.gis.umn.edu
> > > > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> > >
> > > --
> > > ______________________________________
> > > Vincent Schut
> > > Sarvision B.V.
> > > Wageningen, The Netherlands
> > > www.sarvision.com
> >
> > ----
> > Rodolfo Federico Gamarra
>
> --
> ______________________________________
> Vincent Schut
> Sarvision B.V.
> Wageningen, The Netherlands
> www.sarvision.com
>
----
Rodolfo Federico Gamarra
More information about the MapServer-users
mailing list