Re: Setup problems in RedHat 7.3
| From: | Justin Kelly | Date: | Thu, 20 May 2004 03:28:11 +0000 |
| Subject: | Re: Setup problems in RedHat 7.3 | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-4525@lists.php.net to get a copy of this message | ||
forgot to mention that it works when i go in and change the code in
hello.php
from:
if (!extension_loaded('gtk')) {
dl( 'php_gtk.' . PHP_SHLIB_SUFFIX);
to:
if (!extension_loaded('gtk')) {
dl( 'php_gtk.' . so);
but would prefer not having to change the code of all php-gtk apps I run
Cheers again
Justin
hello.php On Thu, 2004-05-20 at 13:19, Justin Kelly wrote:
> Hi All
>
> I have been having problems getting php-gtk to work on Red Hat 7.3, it
> installed fine but when I test it I get the below error.
>
> [root@localhost php-gtk-1.0.0]# php --q test/hello.php
> X-Powered-By: PHP/4.1.2
> Content-type: text/html
>
> <br>
> <b>Warning</b>: Unable to load dynamic library
> '/usr/lib/php4/php_gtk.PHP_SHLIB_SUFFIX' -
> /usr/lib/php4/php_gtk.PHP_SHLIB_SUFFIX: cannot open shared object file:
> No such file or directory in
> <b>/home/justin/php-gtk-1.0.0/test/hello.php</b> on line
> <b>5</b><br>
> <br>
> <b>Fatal error</b>: Cannot instantiate non-existent class: gtkwindow
> in <b>/home/justin/php-gtk-1.0.0/test/hello.php</b> on line
> <b>40</b><br>
>
> Im sure its an easy problem, any help would be greatly appreciated as I
> can so far only use php-gtk on WinXP
>
> Cheers
>
> Justin
>
> --
> PHP-GTK General Mailing List (http://gtk.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>