Edit report at https://bugs.php.net/bug.php?id=36708&edit=1
ID: 36708
Updated by: php-bugs@lists.php.net
Reported by: jerome at macsaresexy dot com
Summary: PDO Extension fails to configure proper makefile
-Status: Feedback
+Status: No Feedback
Type: Feature/Change Request
Package: PDO related
Operating System: Mac OS X 10.4.9
PHP Version: 5.2.1
Private report: N
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2017-04-24 19:08:19] adambaratz@php.net
Is this an issue with the latest 5.x release?
------------------------------------------------------------------------
[2007-05-14 15:30:23] jerome at macsaresexy dot com
_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.
------------------------------------------------------------------------
[2007-05-14 09:19:29] tony2001@php.net
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.
------------------------------------------------------------------------
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
https://bugs.php.net/bug.php?id=36708
--
Edit this bug report at https://bugs.php.net/bug.php?id=36708&edit=1