<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: HOW-TO: Install PHP5, OCI8, the Oracle Client v10.2 and SqlPlus on Mac OS X Leopard 10.5.4</title>
	<atom:link href="http://www.danilovizzarro.it/2008/07/how-to-install-php5-oci8-the-oracle-client-v102-and-sqlplus-on-macos-x-leopard-1054/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.danilovizzarro.it/2008/07/how-to-install-php5-oci8-the-oracle-client-v102-and-sqlplus-on-macos-x-leopard-1054/</link>
	<description>the Blog of</description>
	<lastBuildDate>Sat, 06 Aug 2011 16:59:15 +0200</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Joachim</title>
		<link>http://www.danilovizzarro.it/2008/07/how-to-install-php5-oci8-the-oracle-client-v102-and-sqlplus-on-macos-x-leopard-1054/comment-page-1/#comment-9742</link>
		<dc:creator>Joachim</dc:creator>
		<pubDate>Wed, 23 Feb 2011 06:06:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.danilovizzarro.it/?p=11#comment-9742</guid>
		<description>I Did anthing but the apache errorlog said if i open the test.php:
ming normal operations
dyld: lazy symbol binding failed: Symbol not found: _OCIEnvNlsCreate
  Referenced from: /usr/lib/php/extensions/no-debug-non-zts-20090626/oci8.so
  Expected in: flat namespace

dyld: Symbol not found: _OCIEnvNlsCreate
  Referenced from: /usr/lib/php/extensions/no-debug-non-zts-20090626/oci8.so
  Expected in: flat namespace

any idea</description>
		<content:encoded><![CDATA[<p>I Did anthing but the apache errorlog said if i open the test.php:<br />
ming normal operations<br />
dyld: lazy symbol binding failed: Symbol not found: _OCIEnvNlsCreate<br />
  Referenced from: /usr/lib/php/extensions/no-debug-non-zts-20090626/oci8.so<br />
  Expected in: flat namespace</p>
<p>dyld: Symbol not found: _OCIEnvNlsCreate<br />
  Referenced from: /usr/lib/php/extensions/no-debug-non-zts-20090626/oci8.so<br />
  Expected in: flat namespace</p>
<p>any idea</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carlos</title>
		<link>http://www.danilovizzarro.it/2008/07/how-to-install-php5-oci8-the-oracle-client-v102-and-sqlplus-on-macos-x-leopard-1054/comment-page-1/#comment-9408</link>
		<dc:creator>Carlos</dc:creator>
		<pubDate>Wed, 26 Jan 2011 12:02:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.danilovizzarro.it/?p=11#comment-9408</guid>
		<description>Hi all ...

Danilo, first of all thank you for the great post and the scripts.

I did everything you said, and when I try to execute the sqlplus command to check connectivity with Oracle I receive the following message:

dyld: Library not loaded: /b/227/sqlplus/lib/libsqlplus.dylib
  Referenced from: /usr/bin/sqlplus
  Reason: image not found
Trace/BPT trap

if I echo both $ORACLE_HOME and $DYLD_LIBRARY_PATH I get ”/opt/oracle/instantclient_10_2″

¿Any idea?

Thank you very much in advance.</description>
		<content:encoded><![CDATA[<p>Hi all &#8230;</p>
<p>Danilo, first of all thank you for the great post and the scripts.</p>
<p>I did everything you said, and when I try to execute the sqlplus command to check connectivity with Oracle I receive the following message:</p>
<p>dyld: Library not loaded: /b/227/sqlplus/lib/libsqlplus.dylib<br />
  Referenced from: /usr/bin/sqlplus<br />
  Reason: image not found<br />
Trace/BPT trap</p>
<p>if I echo both $ORACLE_HOME and $DYLD_LIBRARY_PATH I get ”/opt/oracle/instantclient_10_2″</p>
<p>¿Any idea?</p>
<p>Thank you very much in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin Mandzik</title>
		<link>http://www.danilovizzarro.it/2008/07/how-to-install-php5-oci8-the-oracle-client-v102-and-sqlplus-on-macos-x-leopard-1054/comment-page-1/#comment-9305</link>
		<dc:creator>Justin Mandzik</dc:creator>
		<pubDate>Sun, 16 Jan 2011 18:15:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.danilovizzarro.it/?p=11#comment-9305</guid>
		<description>Just a quick note:  Double check you switched to root with `sudo su -` as opposed to `sudo bash` before you ran Danilo&#039;s script.  Many of the issues people have been having appear related to unix account environmentals and this will make sure the `root` user has the appropriate settings, not the regular mac account.

Good luck!</description>
		<content:encoded><![CDATA[<p>Just a quick note:  Double check you switched to root with `sudo su -` as opposed to `sudo bash` before you ran Danilo&#8217;s script.  Many of the issues people have been having appear related to unix account environmentals and this will make sure the `root` user has the appropriate settings, not the regular mac account.</p>
<p>Good luck!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Danilo Vizzarro</title>
		<link>http://www.danilovizzarro.it/2008/07/how-to-install-php5-oci8-the-oracle-client-v102-and-sqlplus-on-macos-x-leopard-1054/comment-page-1/#comment-9270</link>
		<dc:creator>Danilo Vizzarro</dc:creator>
		<pubDate>Mon, 10 Jan 2011 22:04:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.danilovizzarro.it/?p=11#comment-9270</guid>
		<description>Hi Neto,
I would suggest first to uninstall the current PHP version you have installed and then to execute the script I wrote.
I didn&#039;t try by my self to uninstall PHP but I have found this instruction
http://juliusdavies.ca/how_to_uninstall_php_from_mac.html
Maybe you can try and let us know if it works!
Bye</description>
		<content:encoded><![CDATA[<p>Hi Neto,<br />
I would suggest first to uninstall the current PHP version you have installed and then to execute the script I wrote.<br />
I didn&#8217;t try by my self to uninstall PHP but I have found this instruction<br />
<a href="http://juliusdavies.ca/how_to_uninstall_php_from_mac.html" rel="nofollow">http://juliusdavies.ca/how_to_uninstall_php_from_mac.html</a><br />
Maybe you can try and let us know if it works!<br />
Bye</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neto Terreri</title>
		<link>http://www.danilovizzarro.it/2008/07/how-to-install-php5-oci8-the-oracle-client-v102-and-sqlplus-on-macos-x-leopard-1054/comment-page-1/#comment-9260</link>
		<dc:creator>Neto Terreri</dc:creator>
		<pubDate>Mon, 10 Jan 2011 01:54:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.danilovizzarro.it/?p=11#comment-9260</guid>
		<description>Hi Danilo. First I would like congratulations for this post and script!! it&#039;s amazing!! I have a little problem with Snow Server (10.6.6). He comes with php 5.3.3 by default. I run your script with php 5.2.6 normaly installing all features including oci8. But he keeping the php 5.3.3. I would like know if in your script have a way to uninstall the php 5.3.3 for install 5.2.6 or replace 5.3.3. Thank you.</description>
		<content:encoded><![CDATA[<p>Hi Danilo. First I would like congratulations for this post and script!! it&#8217;s amazing!! I have a little problem with Snow Server (10.6.6). He comes with php 5.3.3 by default. I run your script with php 5.2.6 normaly installing all features including oci8. But he keeping the php 5.3.3. I would like know if in your script have a way to uninstall the php 5.3.3 for install 5.2.6 or replace 5.3.3. Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vlad</title>
		<link>http://www.danilovizzarro.it/2008/07/how-to-install-php5-oci8-the-oracle-client-v102-and-sqlplus-on-macos-x-leopard-1054/comment-page-1/#comment-9026</link>
		<dc:creator>Vlad</dc:creator>
		<pubDate>Sat, 25 Dec 2010 00:01:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.danilovizzarro.it/?p=11#comment-9026</guid>
		<description>there is much easier and better way:
http://musarra.files.wordpress.com/2010/01/macosx_snow_leopard_php5-3_oci8_1-0_en.pdf

it uses pecl to install OCI8 module for PHP, no need for rebuilding PHP and Apache. Native Leopard&#039;s Apache and PHP will work like a charm.</description>
		<content:encoded><![CDATA[<p>there is much easier and better way:<br />
<a href="http://musarra.files.wordpress.com/2010/01/macosx_snow_leopard_php5-3_oci8_1-0_en.pdf" rel="nofollow">http://musarra.files.wordpress.com/2010/01/macosx_snow_leopard_php5-3_oci8_1-0_en.pdf</a></p>
<p>it uses pecl to install OCI8 module for PHP, no need for rebuilding PHP and Apache. Native Leopard&#8217;s Apache and PHP will work like a charm.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Antonio Musarra</title>
		<link>http://www.danilovizzarro.it/2008/07/how-to-install-php5-oci8-the-oracle-client-v102-and-sqlplus-on-macos-x-leopard-1054/comment-page-1/#comment-8142</link>
		<dc:creator>Antonio Musarra</dc:creator>
		<pubDate>Mon, 30 Aug 2010 12:42:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.danilovizzarro.it/?p=11#comment-8142</guid>
		<description>Hi Danilo,
good post. 
I wish to notify you, I wrote a post in italian on my blog that is always the same topic.

http://musarra.wordpress.com/2009/10/29/mac-os-x-snow-leopard-php-5-3-oci8/

Thanks,
Antonio Musarra.</description>
		<content:encoded><![CDATA[<p>Hi Danilo,<br />
good post.<br />
I wish to notify you, I wrote a post in italian on my blog that is always the same topic.</p>
<p><a href="http://musarra.wordpress.com/2009/10/29/mac-os-x-snow-leopard-php-5-3-oci8/" rel="nofollow">http://musarra.wordpress.com/2009/10/29/mac-os-x-snow-leopard-php-5-3-oci8/</a></p>
<p>Thanks,<br />
Antonio Musarra.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Celso</title>
		<link>http://www.danilovizzarro.it/2008/07/how-to-install-php5-oci8-the-oracle-client-v102-and-sqlplus-on-macos-x-leopard-1054/comment-page-1/#comment-6496</link>
		<dc:creator>Celso</dc:creator>
		<pubDate>Sat, 02 Jan 2010 07:34:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.danilovizzarro.it/?p=11#comment-6496</guid>
		<description>Greetings! 

I&#039;m having some problems with your script... I have snow leopard, and tried the script more than 10 times now, and it never worked.... I had installed MAMP, but then I realize that MAMP is unnecessary in snow leopard. 

I tried with the original and it didn&#039;t work for me. I&#039;ve been editing the script according to the comments i read, and it still doesn&#039;t work. As Simao, I get nothing with phpinfo() and the test.php. I&#039;ve been trying to spot errors within the installation, and I spotted this one the last time I tried:

libs/libphp5.bundle &amp;&amp; cp libs/libphp5.bundle libs/libphp5.so
i686-apple-darwin10-gcc-4.2.1: =: No such file or directory
make: *** [libs/libphp5.bundle] Error 1

In the end, I get:

Build complete.
Don&#039;t forget to run &#039;make test&#039;.

Installing shared extensions:     /usr/lib/php/extensions/no-debug-non-zts-20090626/



Until now, I made these changes in the script:

1) Replace this line:

#cat makefile &#124; sed &#039;s/CFLAGS_CLEAN = /CFLAGS_CLEAN = -I\/usr\/include -arch ppc -arch i386 -isysroot \/Developer\/SDKs\/MacOSX10.5.sdk \#CFLAGS_CLEAN = /&#039; &gt; makefile1.tmp 

by this one:

cat makefile &#124; sed &#039;s/CFLAGS_CLEAN = /CFLAGS_CLEAN = -I\/usr\/include -arch i386 -isysroot \/Developer\/SDKs\/MacOSX10.5.sdk \#CFLAGS_CLEAN = /&#039; &gt; makefile1.tmp 

2) Replace this line:

cat makefile1.tmp &#124; sed &#039;s/EXTRA_LDFLAGS = /EXTRA_LDFLAGS = -arch ppc -arch i386 -isysroot \/Developer\/SDKs\/MacOSX10.5.sdk -Wl,-syslibroot,\/Developer\/SDKs\/MacOSX10.5.sdk \#EXTRA_LDFLAGS = /&#039; &gt; makefile2.tmp 

by this one:

cat makefile1.tmp &#124; sed &#039;s/EXTRA_LDFLAGS = /EXTRA_LDFLAGS = -arch i386 -isysroot \/Developer\/SDKs\/MacOSX10.5.sdk -Wl,-syslibroot,\/Developer\/SDKs\/MacOSX10.5.sdk -L\/opt\/oracle\/instantclient_10_2 = /&#039; &gt; makefile2.tmp

3) Replace this line:

phpize

by this one:

/usr/bin/phpize

4) I also edited httpd.conf adding these lines:

# Turned on env_module to set Oracle stuff here.
#

SetEnv ORACLE_HOME /opt/oracle/instantclient_10_2
SetEnv LD_LIBRARY_PATH /opt/oracle/instantclient_10_2
SetEnv DYLD_LIBRARY_PATH /opt/oracle/instantclient_10_2
SetEnv TNS_ADMIN /opt/oracle/tns</description>
		<content:encoded><![CDATA[<p>Greetings! </p>
<p>I&#8217;m having some problems with your script&#8230; I have snow leopard, and tried the script more than 10 times now, and it never worked&#8230;. I had installed MAMP, but then I realize that MAMP is unnecessary in snow leopard. </p>
<p>I tried with the original and it didn&#8217;t work for me. I&#8217;ve been editing the script according to the comments i read, and it still doesn&#8217;t work. As Simao, I get nothing with phpinfo() and the test.php. I&#8217;ve been trying to spot errors within the installation, and I spotted this one the last time I tried:</p>
<p>libs/libphp5.bundle &amp;&amp; cp libs/libphp5.bundle libs/libphp5.so<br />
i686-apple-darwin10-gcc-4.2.1: =: No such file or directory<br />
make: *** [libs/libphp5.bundle] Error 1</p>
<p>In the end, I get:</p>
<p>Build complete.<br />
Don&#8217;t forget to run &#8216;make test&#8217;.</p>
<p>Installing shared extensions:     /usr/lib/php/extensions/no-debug-non-zts-20090626/</p>
<p>Until now, I made these changes in the script:</p>
<p>1) Replace this line:</p>
<p>#cat makefile | sed &#8217;s/CFLAGS_CLEAN = /CFLAGS_CLEAN = -I\/usr\/include -arch ppc -arch i386 -isysroot \/Developer\/SDKs\/MacOSX10.5.sdk \#CFLAGS_CLEAN = /&#8217; &gt; makefile1.tmp </p>
<p>by this one:</p>
<p>cat makefile | sed &#8217;s/CFLAGS_CLEAN = /CFLAGS_CLEAN = -I\/usr\/include -arch i386 -isysroot \/Developer\/SDKs\/MacOSX10.5.sdk \#CFLAGS_CLEAN = /&#8217; &gt; makefile1.tmp </p>
<p>2) Replace this line:</p>
<p>cat makefile1.tmp | sed &#8217;s/EXTRA_LDFLAGS = /EXTRA_LDFLAGS = -arch ppc -arch i386 -isysroot \/Developer\/SDKs\/MacOSX10.5.sdk -Wl,-syslibroot,\/Developer\/SDKs\/MacOSX10.5.sdk \#EXTRA_LDFLAGS = /&#8217; &gt; makefile2.tmp </p>
<p>by this one:</p>
<p>cat makefile1.tmp | sed &#8217;s/EXTRA_LDFLAGS = /EXTRA_LDFLAGS = -arch i386 -isysroot \/Developer\/SDKs\/MacOSX10.5.sdk -Wl,-syslibroot,\/Developer\/SDKs\/MacOSX10.5.sdk -L\/opt\/oracle\/instantclient_10_2 = /&#8217; &gt; makefile2.tmp</p>
<p>3) Replace this line:</p>
<p>phpize</p>
<p>by this one:</p>
<p>/usr/bin/phpize</p>
<p>4) I also edited httpd.conf adding these lines:</p>
<p># Turned on env_module to set Oracle stuff here.<br />
#</p>
<p>SetEnv ORACLE_HOME /opt/oracle/instantclient_10_2<br />
SetEnv LD_LIBRARY_PATH /opt/oracle/instantclient_10_2<br />
SetEnv DYLD_LIBRARY_PATH /opt/oracle/instantclient_10_2<br />
SetEnv TNS_ADMIN /opt/oracle/tns</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Danilo Vizzarro</title>
		<link>http://www.danilovizzarro.it/2008/07/how-to-install-php5-oci8-the-oracle-client-v102-and-sqlplus-on-macos-x-leopard-1054/comment-page-1/#comment-6457</link>
		<dc:creator>Danilo Vizzarro</dc:creator>
		<pubDate>Wed, 30 Dec 2009 23:24:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.danilovizzarro.it/?p=11#comment-6457</guid>
		<description>Hi Simao,
please execute this command:

# echo $DYLD_LIBRARY_PATH; echo $ORACLE_HOME

What is the output?
Danilo</description>
		<content:encoded><![CDATA[<p>Hi Simao,<br />
please execute this command:</p>
<p># echo $DYLD_LIBRARY_PATH; echo $ORACLE_HOME</p>
<p>What is the output?<br />
Danilo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simao</title>
		<link>http://www.danilovizzarro.it/2008/07/how-to-install-php5-oci8-the-oracle-client-v102-and-sqlplus-on-macos-x-leopard-1054/comment-page-1/#comment-6443</link>
		<dc:creator>Simao</dc:creator>
		<pubDate>Wed, 30 Dec 2009 05:01:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.danilovizzarro.it/?p=11#comment-6443</guid>
		<description>Hi there! Great script but i&#039;m having a problem :/
When i try to run the  sqlplus command i get this error:

dyld: Library not loaded: /b/227/sqlplus/lib/libsqlplus.dylib
  Referenced from: /usr/bin/sqlplus
  Reason: image not found
Trace/BPT trap


Any help on that?

Also, i get nothing on the phpinfo() or the test.php pages.

Thanks a lot!</description>
		<content:encoded><![CDATA[<p>Hi there! Great script but i&#8217;m having a problem :/<br />
When i try to run the  sqlplus command i get this error:</p>
<p>dyld: Library not loaded: /b/227/sqlplus/lib/libsqlplus.dylib<br />
  Referenced from: /usr/bin/sqlplus<br />
  Reason: image not found<br />
Trace/BPT trap</p>
<p>Any help on that?</p>
<p>Also, i get nothing on the phpinfo() or the test.php pages.</p>
<p>Thanks a lot!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

