[gdal-dev] Re: PHP bindings
Mike Leahy
mgleahy at alumni.uwaterloo.ca
Mon Feb 7 18:57:41 EST 2011
Hi again,
I recognize this perhaps isn't a popular topic. However, I thought I'd give
the PHP bingings a try with the latest 1.8.0 release. It's somewhat promising
to see that enabling the php bindings in the ./configure options and compiling
will succesfully produce a php_gdal.so library. After finding this, I ran make
install for gdal, then copied the php_gdal.so to the PHP modules folder and
configured PHP to load it. Unfortunately, I get the following output in the
Apache error logs when I attempt to load the module in PHP:
PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/lib/php5/20090626+lfs/php_gdal.so' -
/usr/lib/php5/20090626+lfs/php_gdal.so: undefined symbol:
CPLLoggingErrorHandler in Unknown on line 0
I'm not really sure where to look next. Could it be a compatibility issue
with PHP 5.3.3, or maybe for some reason the php module isn't able to access
the installed gdal libraries?
Any suggestions would be welcome. I'm testing this in a minimal 64-bit Ubuntu
10.11 VM.
Regards,
Mike
On Sunday, February 06, 2011 14:50:34 Mike Leahy wrote:
> Hello List,
>
> Does anyone have an idea if there is any likelihood for a revival of php
> bindings for GDAL/OGR. I know if these were available, I'd be making use
> of them...although, I have no experience creating/maintaining SWIG
> libraries. So I'm curious to know what someone would need to know to get
> started on this, and how big of a job would it likely be?
>
> Regards,
> Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110207/b03427dc/attachment.html
More information about the gdal-dev
mailing list