-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Wed, Aug 15, 2007 at 12:08:18PM -0300, Bruno L. F. Cabral wrote:
Ola
Estou tentando compilar o php_gtk-1.0.2 (stable) no meu CentOS4 e apesar dele compilar e instalar corretamente, nao roda
[root@try test]# php gtk.php [...] PHP Warning: dl(): Unable to load dynamic library '/usr/lib/php4/php_gtk.so' - /usr/lib/php4/php_gtk.so: undefined symbol: gtk_shpaned_new in /usr/src/redhat/BUILD/php_gtk-1.0.2/test/gtk.php on line 5
Problem
Get this error when trying to load PHP-GTK files:
undefined symbol: gtk_shpaned_new
Solution
Delete the source directory (make clean does not seem to work properly) and extract it again. Edit the file /main/php_gtk_ext.c.in in any text editor and add the line:
#include "ext/spaned/gtkshpaned.c"
Now recompile as usual.
- -- Rodrigo Barbosa (Moderador) Lista centos-pt-br http://lists.centos.org/mailman/listinfo/centos-pt-br