[MacPorts] #31522: php5-oracle fails in Lion

MacPorts noreply at macports.org
Fri Aug 31 12:12:54 PDT 2012


#31522: php5-oracle fails in Lion
---------------------------+------------------------------------------------
  Reporter:  mattg@…       |       Owner:  ryandesign@…           
      Type:  defect        |      Status:  reopened               
  Priority:  Normal        |   Milestone:                         
 Component:  ports         |     Version:  2.0.3                  
Resolution:                |    Keywords:  lion                   
      Port:  php5-oracle   |  
---------------------------+------------------------------------------------
Changes (by pcavanaugh@…):

  * status:  closed => reopened
  * resolution:  worksforme =>


Comment:

 I am experiencing this same problem (Also on Lion 10.7.4). Starting with a
 working php 5.3 install using the php5 port:

 {{{
 --- /opt/local » php -r "echo 'Hello, world' . PHP_EOL;"
 Hello, world
 --- /opt/local » sudo port install php5-oracle
 --->  Computing dependencies for php5-oracle
 --->  Fetching archive for php5-oracle
 --->  Attempting to fetch php5-oracle-5.3.15_0.darwin_11.x86_64.tbz2 from
 http://packages.macports.org/php5-oracle
 --->  Attempting to fetch php5-oracle-5.3.15_0.darwin_11.x86_64.tbz2 from
 http://macports.packages.ionic.de/php5-oracle
 --->  Fetching distfiles for php5-oracle
 --->  Verifying checksum(s) for php5-oracle
 --->  Extracting php5-oracle
 --->  Configuring php5-oracle
 --->  Building php5-oracle
 --->  Staging php5-oracle into destroot
 --->  Installing php5-oracle @5.3.15_0
 --->  Activating php5-oracle @5.3.15_0
 --->  Cleaning php5-oracle
 --->  Updating database of binaries: 100.0%
 --->  Scanning binaries for linking errors: 100.0%
 --->  No broken files found.
 --- /opt/local » php -r "echo 'Hello, world' . PHP_EOL;"
 [1]    29944 segmentation fault  php -r "echo 'Hello, world' . PHP_EOL;"
 --- /opt/local » cat /opt/local/var/db/php5/oracle.ini
 139 ↵
 ; Do not edit this file; it is automatically generated by MacPorts.
 ; Any changes you make will be lost if you upgrade or uninstall
 php5-oracle.
 ; To configure PHP, edit /opt/local/etc/php5/php.ini.
 extension=oci8.so
 extension=pdo_oci.so
 --- /opt/local » sudo bash -c 'echo "extension=oci8.so" >
 /opt/local/var/db/php5/oracle.ini'
 1 ↵
 --- /opt/local » cat /opt/local/var/db/php5/oracle.ini
 extension=oci8.so
 --- /opt/local » php -r "echo 'Hello, world' . PHP_EOL;"
 Hello, world
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/31522#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list