Re: [PHP-GTK] php_gtk2.so not recognized in php.ini [solved ]
[email protected] (ketty972) Fri, 23 Jul 2010 06:34:58 -0700 (PDT)
| Newsgroups | php.gtk.general |
|---|---|
| Message-ID | <[email protected]> |
i made a symbolic link with a php_gtk2.so I found in the compiled source of php-gtk and i don't have the problem anymore! thank you for your help! ketty972 wrote: > > to answer you David i need this for a freeware named Maarch Capture > Connector that allows to scan documents and launch another freeware named > Maarch LetterBox (a freeware for E-Mail management and electronic > management of documents) in order to send an e-mail with the scanned > documents as an enclosure... > > I tried another method described there > http://oops.opsat.net/doc/gtk/configure-php.html > but it still doesn't work > > when i tape the command line php -m it answers: > >>Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/php_gtk2.so' - /usr/lib/php/modules >/php_gtk2.so: undefined symbol: gtk_recent_action_get_type in Unknown on line 0 >>[PHP Modules] >>bz2 gd mysqli readline >>calendar gettext odbc Reflection >>ctype gmp openssl session >>curl hash pcntl shmop >>date iconv pcre SimpleXML >>dbase json PDO sockets >>exif libxml pdo_mysql SPL >>filter mime_magic PDO_ODBC SQLite >>ftp mysql pdo_sqlite standard >> >>tokenizer >>xml >>zip >>zlib > > it seems that whatever I do Red Hat doesn't see and understand > "php_gtk2.so" > i've already installed many packages: pkg-config 0.21, glib 2.12.3 , > libpng 1.2.8, freetype 2.2.1, fontconfig 2.4.0, cairo 1.2.4, pango1.16.4, > atk 1.9.1 , gtk2 -2.10.4, lignomeprint22 -2.12.1, gtksourceview 1.8.0, > gtk+extra 2.1.1,php 5.2.13... > it seems that red hat see only packages that have been installed by rpm's > because i have installed all these packages with sources and they didn't > appear in the package manager (that why i reinstalled them all with > rpm).... > > i'm at the same point...but thank you a lot for helping me > > > ketty972 wrote: >> >> Hello, >> >> I've tried to compile your php-gtk-2.0.1 source because i need it to >> browse something in my webbrowser. I followed all the instructions of >> this website : >> http://www.kksou.com/php-gtk2/articles/install-php-gtk2-on-linux.php and >> that did not work. The php-gkt2.so extension were not recognized by my >> version of php, even when i copied/pasted it in the directory mentionned >> in my php.ini file. So I reinstalled all the php-5.2.13 packages for my >> system (Red Hat Entreprise Linux 5.4) and I compiled one more time the >> sources for php-gtk2. I inserted this line >> "extension=/path/where/is/the/extension/php-gtk2.so" in my new php.ini >> but it still doesn't work. >> The webpage shows me "Please load the php-gtk2 module in your php.ini " >> ... >> >> I made a php_log file that says me: " PHP Warning: PHP Startup: Unable >> to load dynamic library '/usr/lib/php/modules/php_gtk2.so' - >> /usr/lib/php/modules/php_gtk2.so: undefined symbol: >> gtk_recent_action_get_type in Unknown on line 0" >> >> I didn't find anything on the web that could help me, or it wasn't of my >> level (I'm rather beginner with Linux) or I didn't understand everything >> because it was in english (I'm French). Have you any idea which can help >> me to fix my problem? I thought there was an rpm ressources but in fact >> it doesn't exist yet for RHEL...I thank you beforehand. >> > > -- View this message in context: http://old.nabble.com/php_gtk2.so-not-recognized-in-php.ini-tp29239044p29247612.html Sent from the Php - GTK - General mailing list archive at Nabble.com.