Re: link with C++ library

From: Date: Wed, 06 Sep 2000 04:39:53 +0000
Subject: Re: link with C++ library
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-15431@lists.php.net to get a copy of this message
In article <39B4D9BC.7D05F07D@isr.thomson-csf.com>, yann.leyhuelic@isr.thomson-csf.com (Yann Le Yhuelic) wrote: > Hi, > > I've got a problem with dynamic link library. > I'm using PHP 4.0.2 on FreeBSD 4.1 > I' ve got the following files > > test.cc > test.h ----> libtest.so > > > php_test.c > php_test.h ----> libphptest.so > > When I'm trying to call functions of test.cc in php_test.c, I've got the > following message > /usr/lib/libstdc++.so.3 Undefined symbol "__ti9exception" > It looks like a C++ problem with PHP. Last I heard, PHP only grokked C-style libraries, so a C++ library needed a C wrapper written around it... However, there's a lot of new stuff in PHP for dynamic library loading, and I could now be a dinosaur. -- Richard Lynch | If this was worth $$$ to you, buy a CD US Customer Support Director | from one of the artists listed here: Zend Technologies USA | http://www.L-I-E.com/artists.htm http://www.zend.com | (this has nothing to do with Zend, duh!)

« previous php.general (#15431) next »