#18725 [Opn->Fbk]: multiple definitions of symbol __dig_vec
| From: | kalowsky@php.net | Date: | Mon, 05 Aug 2002 20:07:39 +0000 |
| Subject: | #18725 [Opn->Fbk]: multiple definitions of symbol __dig_vec | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-16025@lists.php.net to get a copy of this message | ||
ID: 18725
Updated by: kalowsky@php.net
Reported By: m31@128kb.com
-Status: Open
+Status: Feedback
Bug Type: MySQL related
Operating System: Darwin OSX 10.1.5
PHP Version: 4.2.2
New Comment:
I wouldn't be able to comment directly on the MySQL support as I
haven't even bothered to try it. Guess I should do that soon.
Anyways, if you can try a snapshot of a recent build (snaps.php.net)
and tell me if this is fixed, it would be appriciated. 4.3.0 will be
the first release of PHP to officially support OSX out of the box... so
any testing you can help us with is appriciated :)
Previous Comments:
------------------------------------------------------------------------
[2002-08-03 15:12:55] msopacua@idg.nl
hmm, that would be difficult. The binary install, uses the provided
mysql client and links that in (statically I presume).
I think the only thing you can do is:
a) wait :-0
or the preferred option:
b) report compilation errors for the mysql client lib and join php QA -
it's the only way we can improve support for OS/X.
Dan (Kalowsky): is 4.3.0-dev better for external mysql client support?
------------------------------------------------------------------------
[2002-08-03 15:04:40] m31@128kb.com
I installed DBD::Mysql via CPAN shell so I'm not sure about
that but the php build I'm using is, I installed the binary
from the suggested link on http://www.php.net/downloads.php
for the OSX binary.
I've been trying to build php with mysql's mysqlclient
libraries to avoid this but am having difficulties. I
wasn't aware that I could just try to rebuild DBD, maybe I
sould just try that route.... but how would I go about
doing that?? link DBD to mysqlclient libraries??
------------------------------------------------------------------------
[2002-08-03 14:49:21] msopacua@idg.nl
Hi,
this is a symbol in the mysql client library.
Did you compile the DBD::mysql module with the same library as the one
with PHP?
------------------------------------------------------------------------
[2002-08-03 13:26:53] m31@128kb.com
While using mod_php as a shared object and mod_perl as a
shared object I get dyld errors complaining about multiple
definitions of symbol __dig_vec. This error occurs when
perls DBI module is loaded into mod_perl and when a call to
Apache::DBI->connect() is made. The script fails with this
error:
dyld: /usr/sbin/httpd multiple definitions of symbol
__dig_vec
/usr/libexec/httpd/libphp4-4.1.2.so definition of __dig_vec
/Library/Perl/darwin/auto/DBD/mysql/mysql.bundle definition
of __dig_vec
This may not be exactly php specific but mod_php and
mod_perl have an obvious conflict and I'm not sure if this
is an OSX specific thing either.
I have tried this with php4.1.1, 4.1.2, 4.2.0, 4.2.2
The only way I can suppress the errors is to comment out
mod_php in my httpd.conf.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18725&edit=1