[Cartoweb-users] Loading compiled chameleon.so gives error undefined symbol: __cxa_guard_acquire

Miloslav Kmet adrive-php at hip-hop.sk
Wed Jul 4 09:40:18 EDT 2007

Hello, I am trying to compile and load chameleon extensions to PHP5 on Debian 
Lenny (also trying Sid), but wihtout succes.

I follow the steps in README.txt, and everything seems to compile fine without 
any error, but when I want to load compiled chameleon.so in test script:
<?php dl('chameleon.so'); ?>
I get this error:

Warning: dl(): Unable to load dynamic 
library '/usr/lib/php5/20060613+lfs/chameleon.so' - /usr/lib/php5/20060613+lfs/chameleon.so: 
undefined symbol: __cxa_guard_acquire in /usr/local/src/chameleon/test.php on 
line 3

Debian Lenny (testing) configuration:
Linux developer 2.6.18-4-686 #1 SMP Wed May 9 23:03:12 UTC 2007 i686 GNU/Linux
PHP 5.2.0-10+lenny1 (cli) (built: May 26 2007 08:23:53)
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)

Debian Sid (unstable) configuration:
PHP 5.2.3-1+b1 (cli) (built: Jun 21 2007 20:58:46)
gcc version 4.1.3 20070629 (prerelease) (Debian 4.1.2-13)

Thank's for any advice, what should I have wrong, or what should I miss.

Milo aka adrive

email:  adrive at hip-hop.sk
web:    http://hip-hop.sk
blog:   http://adrive.hip-hop.sk
jabber: adrive at jabber.sk

More information about the Cartoweb-users mailing list