[MacPorts] #21574: php5-postgresql
#21574: php5-postgresql --------------------------------------+------------------------------------- Reporter: james.applemac@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: php5-postgresql --------------------------------------+------------------------------------- Hi, I compiled and installed php5-postgresql with 'port install php5-postgresql +postgresql84' under OS X 10.6.1 but encounter problem when run 'php -m' . The following are the error message: {{{ php -m PHP Warning: PHP Startup: pdo_pgsql: Unable to initialize module Module compiled with build ID=API20090626,NTS PHP compiled with build ID=API20090626,TS These options need to match in Unknown on line 0 Warning: PHP Startup: pdo_pgsql: Unable to initialize module Module compiled with build ID=API20090626,NTS PHP compiled with build ID=API20090626,TS These options need to match in Unknown on line 0 dyld: NSLinkModule() error dyld: Symbol not found: _core_globals Referenced from: /opt/local/lib/php/extensions/no-debug- zts-20090626/pgsql.so Expected in: flat namespace in /opt/local/lib/php/extensions/no-debug-zts-20090626/pgsql.so Trace/BPT trap }}} -- Ticket URL: <http://trac.macports.org/ticket/21574> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21574: php5-postgresql --------------------------------------+------------------------------------- Reporter: james.applemac@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: php5-postgresql --------------------------------------+------------------------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => ryandesign@… -- Ticket URL: <http://trac.macports.org/ticket/21574#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21574: php5-postgresql --------------------------------------+------------------------------------- Reporter: james.applemac@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: php5-postgresql --------------------------------------+------------------------------------- Comment(by ryandesign@…): Looks like the same issue as #21573 but in a different php module. -- Ticket URL: <http://trac.macports.org/ticket/21574#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21574: php5-postgresql --------------------------------------+------------------------------------- Reporter: james.applemac@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: php5-postgresql --------------------------------------+------------------------------------- Comment(by ryandesign@…): The module was compiled non-thread-safe ("NTS") but php was compiled thread-safe ("TS"); these cannot work together. One reason why php5 might be compiled thread-safe is if your apache2 is not using the default preforkmpm variant, but some other mpm variant. If that's the case, reinstall apache2 with the preforkmpm variant, then rebuild php5. -- Ticket URL: <http://trac.macports.org/ticket/21574#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21574: php5-postgresql: Symbol not found: _core_globals, apache2 +workermpm ---------------------------------------+------------------------------------ Reporter: james.applemac@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Resolution: duplicate | Keywords: Port: php5-postgresql | ---------------------------------------+------------------------------------ Changes (by ryandesign@…): * status: new => closed * resolution: => duplicate Comment: That was it. See #21573 for more details. Duplicate of #21281. -- Ticket URL: <http://trac.macports.org/ticket/21574#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts