[nycphp-talk] PHP-GTK module error
Jon Baer
jonbaer at jonbaer.com
Sun Oct 1 21:17:54 EDT 2006
(guess) Try something like "php -m | grep gd" to see if you are
loading gd.so as well?
Its making a reference to a function in GD that it can't find (either
lib path is wrong or something else), or may need to compile PHP
again with --with-gd=/path/to/gd
And probably make sure its getting loading via extension_dir first
before php_gtk2.
- Jon
On Oct 1, 2006, at 7:32 PM, Ben Sgro (sk) wrote:
> Hello All,
>
> I've just installed GTK from source, following these directions:
> http://gtk.php.net/manual/en/tutorials.installation.linux.php
> $ ./buildconf
> $ ./configure
> $ make
> $ make install
> Everything built find. I then added php_gtk2.so module to the
> extension's in
> php.ini, restarted apache.
>
> I ran
> $ php -m | grep php-gtk
> and got ...Unable to load dynamic library,
> '/usr/lib/php/modules/php_gtk2.so'....undefine symbol:
> phpi_get_le_gd in
> Unknown on line 0...
>
> Well, looks pretty obvious an error in the .c code. I've done
> apache module
> development in the past, and the 'Unknown' could point to c code.
>
> Anyways, I've done some goggle searching..nothing to helpful. So
> does anyone
> have any tips or work arounds?
>
> Thanks, Ben
>
> _______________________________________________
> New York PHP Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
More information about the talk
mailing list