ID: 36708
User updated by: jerome at macsaresexy dot com
Reported By: jerome at macsaresexy dot com
-Status: Feedback
+Status: Open
Bug Type: Compile Failure
Operating System: Mac OS X 10.4.9
PHP Version: 5.2.1
Assigned To: wez
New Comment:
_php_pdo_register_driver is defined in pdo.so i believe right?
So pdo_sqlite should be linking against the pdo.so extension?
How do I disable configure restriction so I can try this out and get
more information to some smarter mac devs than myself? I've been
giving this info to them and they still seem to think something isn't
being linked that it should work.
Previous Comments:
------------------------------------------------------------------------
[2007-05-14 09:19:29] [EMAIL PROTECTED]
I removed the restriction in configure and compiled both PDO and
PDO_SQLITE as shared.
This is what I get after enabling both of them (first PDO, then
PDO_SQLITE):
dyld: lazy symbol binding failed: Symbol not found:
_php_pdo_register_driver
Referenced from: /var/root/tony/php-src_5_2/modules/pdo_sqlite.so
Expected in: flat namespace
dyld: Symbol not found: _php_pdo_register_driver
Referenced from: /var/root/tony/php-src_5_2/modules/pdo_sqlite.so
Expected in: flat namespace
Trace/BPT trap
So it seems dynamic linker is still broken in MacOSX, therefor the
restriction is reasonable.
------------------------------------------------------------------------
[2007-05-10 20:59:19] jerome at macsaresexy dot com
Quick comment, clarification of dlopen() if that applies to this. OS
X 10.3.x supposedly has a dl compat layer, where 10.4.x actually has
native support for dlopen() and friends.
------------------------------------------------------------------------
[2007-05-10 16:21:33] jerome at macsaresexy dot com
After some looking into, I reopened this bug after discussing this
with mac developers and the fact being stated that OS X has dlopen and
friends just like linux. ALso the fact that MOST of the php
extensions build fine on OS X except for PDO and maybe one or 2
others.
This doesn't seem reasonable to not be able to do, if other extensions
can be compiled & loaded, why can't PDO. it really limits options
like considering Zend Core when you can't install PDO via pecl.
------------------------------------------------------------------------
[2006-08-24 16:01:46] [EMAIL PROTECTED]
Due to the way that loadable modules work on OSX/Darwin, you need to
compile the PDO package statically into the PHP core.
I've fixed the configure, so it will fail if you try to compile PDO
dynamically.
------------------------------------------------------------------------
[2006-07-18 17:12:21] jerome at macsaresexy dot com
I just grabbed PHP 5.2 CVS 200607181630 snapshot and attempted
to compile it, PHP itself compiled fine, but PDO still does
not generate a proper makefile on Mac OS X.
after running the php5.2cvs's phpize on ext/pdo, i did
configure then make, and it just immediately thinks it's done
like it always has been doing.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/36708
--
Edit this bug report at http://bugs.php.net/?id=36708&edit=1