Re: compiles fine - doesn't run though
| From: | Barry Mitchelson | Date: | Wed, 14 Mar 2001 09:24:59 +0000 |
| Subject: | Re: compiles fine - doesn't run though | ||
| References: | 1 2 3 | Groups: | php.gtk |
| Request: | Send a blank email to php-gtk+get-847@lists.php.net to get a copy of this message | ||
this is the same problem I reported yesterday. I posted the problem on the PHP-DEV list and was
given an answer which Andrei then incorporated into the PHP-GTK code - get the latest CVS version
and it should run fine.
barry
On Tue, Mar 13, 2001 at 10:41:57PM -0800, Joe Stump wrote:
> Well I found out my initial problem ... my extension_dir was set to ./ in my
> php.ini file. Now I get this problem:
>
> vivian:/usr/local/src/php-gtk/test# php -q hello.php
> <br>
> <b>Warning</b>: Invalid library (maybe not a PHP library) 'php_gtk.so'
> in <b>hello.php</b> on line <b>7</b><br>
> <br>
> <b>Fatal error</b>: Cannot instantiate non-existent class: gtkwindow in
> <b>hello.php</b> on line <b>41</b><br>
>
> Which totally baffles me.
>
> --Joe
>
> On Tue, Mar 13, 2001 at 10:29:23PM -0800, Joe Stump wrote:
> > The below output is with an absolute path - I tried fidling with it - here is
> > what the default program yields.
> >
> > vivian:/usr/local/src/php-gtk/test# php -q hello.php
> > <br>
> > <b>Warning</b>: Unable to load dynamic library './php_gtk.so' -
> > ./php_gtk.so: cannot open shared object file: No such file or directory in
> > <b>hello.php</b> on line <b>6</b><br>
> > <br>
> > <b>Fatal error</b>: Cannot instantiate non-existent class: gtkwindow in
> > <b>hello.php</b> on line <b>40</b><br>
> >
> >
> > --Joe
> >
> > On Tue, Mar 13, 2001 at 10:26:37PM -0800, Joe Stump wrote:
> > > I'm running the latest version of Debian with all the correct libs. PHP with GTK
> > > compiled just great. php -v yields "4.0.5-dev" or the latest CVS version as
> > > of
> > > a few days ago when I compiled. But when I run a test program I get this:
> > >
> > > vivian:/usr/local/src/php-gtk/test# php -q hello.php
> > > <br>
> > > <b>Warning</b>: Unable to load dynamic library
> > > '/usr/local/lib/php/extensions/no-debug-non-zts-20001222//usr/local/lib/php/extentions/no-debug-non-zts-20001222/php_gtk.so'
> > > -
> > > /usr/local/lib/php/extensions/no-debug-non-zts-20001222//usr/local/lib/php/extentions/no-debug-non-zts-20001222/php_gtk.so:
> > > cannot open shared object file: No such file or directory in <b>hello.php</b> on line
> > > <b>6</b><br>
> > > <br>
> > > <b>Fatal error</b>: Cannot instantiate non-existent class: gtkwindow in
> > > <b>hello.php</b> on line <b>40</b><br>
> > >
> > > Which would lead me to believe there is a serious problem trying to load the
> > > library. php_gtk.so is in the directory stated above ... I'm lost.
> > >
> > > Any help would be great!
> > >
> > > --Joe
> > >
> > >
> > > --
> > >
> > > -------------------------------------------------------------------------------
> > > Joe Stump, PHP Hacker, joestump98@yahoo.com -o)
> > > http://www.geekshare.com http://www.care2.com #
> > > 2 ¯’ì2å´¤dÛhttp://www.miester.org /\\
> > > "Those who can, create. Those who can't, complain."
> > > _\_V
> > > -------------------------------------------------------------------------------
> > >
> > >
> > > --
> > > PHP GTK Mailing List (http://www.php.net/)
> > > To unsubscribe, e-mail: php-gtk-unsubscribe@lists.php.net
> > > For additional commands, e-mail: php-gtk-help@lists.php.net
> > > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> > >
> >
> > --
> >
> > -------------------------------------------------------------------------------
> > Joe Stump, PHP Hacker, joestump98@yahoo.com -o)
> > http://www.geekshare.com http://www.care2.com
> > http://www.miester.org /\\
> > "Those who can, create. Those who can't, complain."
> > _\_V
> > -------------------------------------------------------------------------------
> >
> >
> > --
> > PHP GTK Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-gtk-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-gtk-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> >
>
> --
>
> -------------------------------------------------------------------------------
> Joe Stump, PHP Hacker, joestump98@yahoo.com -o)
> http://www.geekshare.com http://www.care2.com
> http://www.miester.org /\\
> "Those who can, create. Those who can't, complain." _\_V
> -------------------------------------------------------------------------------
>
>
> --
> PHP GTK Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-gtk-unsubscribe@lists.php.net
> For additional commands, e-mail: php-gtk-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
--
http://www.theshining.org