Re: [PHP-GTK] php-gtk w/ scintilla

[email protected] (Fernando Correa da Conceição)
Newsgroups php.gtk.general
Message-ID <[email protected]>
pablo dalloglio escreveu:
> Hello,
>
> When compiling either php-gtk-2.0.0beta or cvs version **WITH**
> --enable-scintila gives me the error below. Removing scintilla,
> everything is ok.
>
> PHP-GTK2 alpha compiled with gtkscintilla (separated, not embed) used to
> work...
>
> anybody ?
>
>
> php-gtk2 -v
> PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/local/php-gtk2/lib/php/extensions/no-debug-non-zts-20060613/php_gtk2.so' - /usr/local/php-gtk2/lib/php/extensions/no-debug-non-zts-20060613/php_gtk2.so: undefined symbol: _ZTVN10__cxxabiv117__class_type_infoE in Unknown on line 0
> PHP 5.2.4 (cli) (built: Oct 22 2007 19:26:48) 
> Copyright (c) 1997-2007 The PHP Group
> Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
>
>   
I reported this some time. The message and the fix(note: this is a copy 
and past from a previous message):

GtkScintilla do not work for me(again...) on linux, using debian 
etch(kurumin). There is an undefined reference to a cxx funcion. This 
time I have a simple fix, on the line PHP_GTK2_SHARED_LIBADD in the 
makefile, add as the last item -lstdc++ . Works for me.

Change this AFTER the ./configure --enable-scintilla
If you enable mozenbed it will wok, because it add -lstdc++

But i do not know the best way to fix this on the makefiles

Fernando Correa da Conceição
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.