0
我想在OSX 10.6安裝PDO驅動程序,我一直在關注這裏找到了方向:
Installing PDO-drivers for PostgreSQL on Mac (using Zend for eclipse)
問題上的積雪安裝pdo_psql leapord
每次我嘗試和編譯pdo_psql。所以驅動它編譯得很好,但'make test'找到了問題。
PHP Warning: PHP Startup: Unable to load dynamic library '/Users/me/temp/PDO_PGSQL-1.0.2/modules/pdo_pgsql.so' - dlopen(/Users/me/temp/PDO_PGSQL-1.0.2/modules/pdo_pgsql.so, 9): no suitable image found. Did find: /Users/me/temp/PDO_PGSQL-1.0.2/modules/pdo_pgsql.so: mach-o, but wrong architecture in Unknown on line 0 Warning: PHP Startup: Unable to load dynamic library '/Users/me/temp/PDO_PGSQL-1.0.2/modules/pdo_pgsql.so' - dlopen(/Users/me/temp/PDO_PGSQL-1.0.2/modules/pdo_pgsql.so, 9): no suitable image found. Did find: /Users/me/temp/PDO_PGSQL-1.0.2/modules/pdo_pgsql.so: mach-o, but wrong architecture in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/Users/me/temp/PDO_PGSQL-1.0.2/modules/pdo_pgsql.so' - dlopen(/Users/me/temp/PDO_PGSQL-1.0.2/modules/pdo_pgsql.so, 9): no suitable image found. Did find: /Users/me/temp/PDO_PGSQL-1.0.2/modules/pdo_pgsql.so: mach-o, but wrong architecture in Unknown on line 0 Warning: PHP Startup: Unable to load dynamic library '/Users/me/temp/PDO_PGSQL-1.0.2/modules/pdo_pgsql.so' - dlopen(/Users/me/temp/PDO_PGSQL-1.0.2/modules/pdo_pgsql.so, 9): no suitable image found. Did find: /Users/me/temp/PDO_PGSQL-1.0.2/modules/pdo_pgsql.so: mach-o, but wrong architecture in Unknown on line 0 ===================================================================== PHP : /usr/bin/php PHP_SAPI : cli PHP_VERSION : 5.3.4 ZEND_VERSION: 2.3.0 PHP_OS : Darwin - Darwin localhost 10.7.0 Darwin Kernel Version 10.7.0: Sat Jan 29 15:17:16 PST 2011; root:xnu-1504.9.37~1/RELEASE_I386 i386 INI actual : /Users/me/temp/PDO_PGSQL-1.0.2/tmp-php.ini More .INIs : CWD : /Users/me/temp/PDO_PGSQL-1.0.2 Extra dirs : VALGRIND : Not used ===================================================================== TIME START 2011-04-12 00:35:43 =====================================================================
我正在運行一個32位內核,我的環境變量設置爲這樣。谷歌數小時後,我卡住了。感謝您的任何幫助,您可以提供。