#39393: Oracle - Add path to Apache envvars -------------------------+----------------------------------------------- Reporter: jkorchok@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Low | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: php5-oracle, oracle-instantclient -------------------------+----------------------------------------------- After installing the php5-oracle and oracle-instantclient ports on a number of machines, I have found by trial and error that these ports require the following line to be added to /opt/local/apache2/bin/envvars: export DYLD_LIBRARY_PATH = "/opt/local/lib/oracle/:$DYLD_LIBRARY_PATH" If this line is missing in envvars, you will see the following error in the Apache or PHP error log: "PHP Warning: oci_connect: OCIEnvNlsCreate() failed. There is something wrong with your system - please check that the DYLD_LIBRARY_PATH includes the directory with the Oracle Instant Client libraries in..." Would it be possible to make the port installation add this line to envvars? -- Ticket URL: <https://trac.macports.org/ticket/39393> MacPorts <http://www.macports.org/> Ports system for OS X