[MacPorts] #13530: php5: add support for oracle / oci8

MacPorts trac at macosforge.org
Sun Dec 9 06:14:15 PST 2007


#13530: php5: add support for oracle / oci8
--------------------------------------+-------------------------------------
  Reporter:  ryandesign at macports.org  |       Owner:  ryandesign at macports.org
      Type:  enhancement              |      Status:  new                    
  Priority:  Normal                   |   Milestone:  Port Enhancements      
 Component:  ports                    |     Version:  1.5.2                  
Resolution:                           |    Keywords:                         
--------------------------------------+-------------------------------------
Comment (by ryandesign at macports.org):

 There are some problems with the instantclient:

  1. It's a binary installation, and it's only available for PowerPC Macs
 at this time, not Intel Macs. There are
 [http://forums.oracle.com/forums/thread.jspa?threadID=481059 pages of
 complaints] about this in the forums. According to a message from an
 Oracle representative posted on page 8 of that thread, an Intel version
 will "hopefully" appear in Q1 CY2008.
  1. The libraries are built to assume they reside in the path
 `/b/729/rdbms/lib`. Since this is clearly not going to be the case for any
 reasonable installation of MacPorts, we need to use something like
 `DYLD_FALLBACK_LIBRARY_PATH=${prefix}/lib/oracle` when configuring php5,
 which can be done, but also when running php5, which is more cumbersome,
 especially if php is running say as an apache web server module. A more
 interesting idea will be to see if I can get `install_name_tool` to work
 to change this path to `${prefix}/lib/oracle` within the dylibs
 themselves.
  1. I understand that we cannot build our own libraries for Intel (or any
 other architecture) because Oracle does not make the source code
 available.
  1. Downloading the libraries from the Oracle web site requires agreeing
 to a license agreement, so automated downloading through MacPorts may not
 work. If not, the user should visit the
 [http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/macsoft.html
 downloads page], get the "basic" and "sdk" downloads and place them in
 `${prefix}/var/macports/distfiles/oracle`.

 John found some advice for
 [http://forums.oracle.com/forums/thread.jspa?messageID=1730326 compiling
 php using the instantclient] in the forums, some of which I am skeptical
 of however.

-- 
Ticket URL: <https://trac.macports.org/projects/macports/ticket/13530#comment:1>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list