From: [EMAIL PROTECTED] Operating system: Linux 2.2 PHP version: 4.1.1 PHP Bug Type: Compile Failure Bug description: Name conficts when some libs are static.
example: there are only .h and .a files for lib mysql (version does not matter - they are from rpm'ed MySQL-devel file) then I configure php with --with-mysql=/usr final libphp4.so will be static compiled with it - thats ok for me then lets add some stuff - mnogosearch for example mnogosearch compiles --with-mysql and his libs are static (libudmsearch.a) When I try to compile this stuff together (in php) I get error message about "multiple definition of ...mysql_related_functions..." php uses static lib of mysql and static lib of mnogosearch mnogosearch uses static lib of mysql in abowe eweryone (php, mnogosearch) uses the same static mysql lib whats wrong with it? under php 4.0.6 this works fine another one: php uses his own expat lib (compiled static) now when I try do add sablotron support but sablotron requires expat, so: download expat, untar, configure with "--enable-shared=no", make, make install now sablotron can find expat lib & make his libs (static of course) php is using his own expat lib for xml, sablotron his own but there is a problem under compile time, error "multiple definition of ...expat related funcions..." how to solve it? is this new feature of php-4.1.x? -- Edit bug report at: http://bugs.php.net/?id=15076&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]