Re: php-gtk on RedHat 7.2 compiling problem

From: Date: Tue, 07 May 2002 20:03:38 +0000
Subject: Re: php-gtk on RedHat 7.2 compiling problem
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-1932@lists.php.net to get a copy of this message
Is this RedHat's PHP (from RPM) or your own that you've compiled? Make sure that the PHP you're involking is the same as the PHP that PHP-GTK is finding. For example, RH puts everything into /usr/bin/, whereas when I compile my own I place it in /usr/local/bin/. Then when I build PHP-GTK I have to make sure that configure and friends find the copy in /usr/local/bin/ first (usually setting your PATH correctly takes care of this). Also check your php.ini file for the extension_dir directive. --rdp On 7 May 2002, Eugene Marcotte wrote: > Hello, > > I've tried compile php-gtk (CVS from May 7 @ 3:30, and many other > versions before that, including the regular source downloads) using the > method described in the manual, about 100 times. > > It does to give me any errors when I do buildconf(cept the aclocal > thing), configure, make, and make install. It does install the .so file > in: /usr/local/lib/php/extensions/no-debug-non-zts-20010901/ > but as soon as it's done installing and i cd into the test dir and do: > php -q combobutton.php it says > <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>/usr/local/downloads/php-gtk/test/combobutton.php</b> on line > <b>4</b><br /> > > I've tried moving the .so up one dir and that didn't help, i tried > putting the combobutton.php in the same dir with the .so, and it > worked(der), but I don't want to have my programs all in that dir, also > if i put the full path to php_gtk.so it just throws a ./ in front and > doesn't work > Can anybody please help me? > > Thank you muchly, Eugene > > -- Rich Payne http://talisman.mv.com

« previous php.gtk.general (#1932) next »