Bug #15076 Updated: Name conficts when some libs are static.

From: Date: Tue, 23 Apr 2002 03:52:59 +0000
Subject: Bug #15076 Updated: Name conficts when some libs are static.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-5612@lists.php.net to get a copy of this message
ID: 15076 Updated by: sniper@php.net Reported By: seba@iq.pl -Status: Open +Status: Bogus Bug Type: Compile Failure Operating System: Linux 2.2 PHP Version: 4.1.1 New Comment: Please do not submit the same bug more than once. Please don't report same issue twice. (#15346 has better info) Previous Comments: ------------------------------------------------------------------------ [2002-01-16 21:28:58] seba@iq.pl 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 this bug report at http://bugs.php.net/?id=15076&edit=1

« previous php.bugs (#5612) next »