Pdo and OSX
| From: | nucleuz | Date: | Wed, 09 Feb 2005 19:15:01 +0000 |
| Subject: | Pdo and OSX | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-1940@lists.php.net to get a copy of this message | ||
What's the status on PDO and OSX, anyone got it working?
Looks like the problem from: http://marc.theaimsgroup.com/?t=109735985400002&r=1&w=2 is still alive and kicking ( I can't get it installed here )
This is what I've gone through today:
Fresh install:
nucleuz:/src/php.net nucleuz$ php -v
PHP 5.1.0-dev (cli) (built: Feb 9 2005 18:38:48)
PDO 0.2 installed:
nucleuz:/src/php.net nucleuz$ php -i | grep pdo
pdo support => enabled
pdo.global_value => 42 => 42
With pdo.php
----
<?php
dl( 'pdo_pgsql.so' );
?>
---
pdo_pgsql.so is there and no complaint about loading it, but:
bt gives me:
(gdb) run pdo.php
Starting program: /usr/bin/php pdo.php
Reading symbols for shared libraries ++.. done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
dyld: /usr/bin/php Undefined symbols:
_php_pdo_register_driver
Program received signal SIGTRAP, Trace/breakpoint trap.
0x8fe01700 in __dyld_halt ()
(gdb) bt
#0 0x8fe01700 in __dyld_halt ()
#1 0x8fe0a5b0 in __dyld_check_and_report_undefineds ()
#2 0x8fe11690 in __dyld_link_in_need_modules ()
#3 0x8fe1124c in __dyld_bind_lazy_symbol_reference ()
#4 0x8fe01340 in __dyld_stub_binding_helper_interface ()
#5 0x00a062e8 in zm_startup_pdo_pgsql (type=63, module_number=0) at /Users/nucleuz/cvs/pecl/pdo_pgsql/pdo_pgsql.c:64
#6 0x00146ab0 in zend_register_module_ex (module=0xb8ff80) at /src/php.net/php5-200502091530/Zend/zend_API.c:1227
#7 0x000ac008 in php_dl (file=0xa, type=2, return_value=0xb8fb60) at /src/php.net/php5-200502091530/ext/standard/dl.c:237
#8 0x000abd84 in zif_dl (ht=2319648, return_value=0x2, this_ptr=0x3f, return_value_used=10) at /src/php.net/php5-200502091530/ext/standard/dl.c:81
#9 0x00165148 in zend_do_fcall_common_helper_SPEC (execute_data=0xbfffee80) at /src/php.net/php5-200502091530/Zend/zend_vm_execute.h:175
#10 0x001681a8 in ZEND_DO_FCALL_SPEC_CONST_HANDLER (execute_data=0xbfffee80) at /src/php.net/php5-200502091530/Zend/zend_vm_execute.h:1534
#11 0x00164e00 in execute (op_array=0x236520) at /src/php.net/php5-200502091530/Zend/zend_vm_execute.h:78
#12 0x00143a54 in zend_execute_scripts (type=8, retval=0x2009478, file_count=3) at /src/php.net/php5-200502091530/Zend/zend.c:1058
#13 0x00109b28 in php_execute_script (primary_file=0xbffff8d0) at /src/php.net/php5-200502091530/main/main.c:1636
#14 0x001bd6e8 in main (argc=2, argv=0xbffffe0c) at /src/php.net/php5-200502091530/sapi/cli/php_cli.c:944
(gdb)
-------------- <> --------------
http://eide.org
http://wp.phpvolcano.com
http://phpvolcano.com
http://wiki.cc
http://doap.net/pub/
-------------- <> --------------