<?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: Adding support for SSH2 on MAMP</title>
	<atom:link href="http://www.microshell.com/sysadmin/macosx/adding-support-for-ssh2-on-mamp/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.microshell.com/sysadmin/macosx/adding-support-for-ssh2-on-mamp/</link>
	<description>Learn something share something</description>
	<lastBuildDate>Mon, 23 Jan 2012 10:40:22 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Justin Marsan</title>
		<link>http://www.microshell.com/sysadmin/macosx/adding-support-for-ssh2-on-mamp/comment-page-1/#comment-13330</link>
		<dc:creator>Justin Marsan</dc:creator>
		<pubDate>Mon, 26 Sep 2011 18:17:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.microshell.com/?p=2020#comment-13330</guid>
		<description>Little update as some of the information in this post aren&#039;t up to date anymore :

I tried the &quot;simple&quot; way but it didn&#039;t worked, like the first comment, I didn&#039;t have libssh2 installed. So I went on lissh2.org and downloaded the last version, cd into it, ./configure but still wasn&#039;t working, got the same issue... It&#039;s actually really easy to fix : in the ssh2.so file search for /usr/local/lib/libssh2.1.dylib and replace it by /usr/local/lib/libssh2.1.3.dylib (add .3 basically) and tadaa...

At least that worked for me and I guess it&#039;ll work for other versions too so if you Mamp doesn&#039;t want to start anymore, and your logs say the file isn&#039;t found, then this should solve it.</description>
		<content:encoded><![CDATA[<p>Little update as some of the information in this post aren&#8217;t up to date anymore :</p>
<p>I tried the &#8220;simple&#8221; way but it didn&#8217;t worked, like the first comment, I didn&#8217;t have libssh2 installed. So I went on lissh2.org and downloaded the last version, cd into it, ./configure but still wasn&#8217;t working, got the same issue&#8230; It&#8217;s actually really easy to fix : in the ssh2.so file search for /usr/local/lib/libssh2.1.dylib and replace it by /usr/local/lib/libssh2.1.3.dylib (add .3 basically) and tadaa&#8230;</p>
<p>At least that worked for me and I guess it&#8217;ll work for other versions too so if you Mamp doesn&#8217;t want to start anymore, and your logs say the file isn&#8217;t found, then this should solve it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joffrey Jaffeux</title>
		<link>http://www.microshell.com/sysadmin/macosx/adding-support-for-ssh2-on-mamp/comment-page-1/#comment-12851</link>
		<dc:creator>Joffrey Jaffeux</dc:creator>
		<pubDate>Thu, 01 Sep 2011 21:05:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.microshell.com/?p=2020#comment-12851</guid>
		<description>Here is my ssh2.so for php 5.3.6, working with mamp 2 on Lion :

http://cl.ly/423d3S1n1x17312K1f0u


If the icon it doesn&#039;t look like a shell try : sudo chmod a+x ssh2.so  when you are in the directory of the file.</description>
		<content:encoded><![CDATA[<p>Here is my ssh2.so for php 5.3.6, working with mamp 2 on Lion :</p>
<p><a href="http://cl.ly/423d3S1n1x17312K1f0u" rel="nofollow">http://cl.ly/423d3S1n1&#215;17312K1f0u</a></p>
<p>If the icon it doesn&#8217;t look like a shell try : sudo chmod a+x ssh2.so  when you are in the directory of the file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Quentin Cotillard</title>
		<link>http://www.microshell.com/sysadmin/macosx/adding-support-for-ssh2-on-mamp/comment-page-1/#comment-11185</link>
		<dc:creator>Quentin Cotillard</dc:creator>
		<pubDate>Fri, 24 Jun 2011 21:32:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.microshell.com/?p=2020#comment-11185</guid>
		<description>In order to make it work for me I had to force both the install of libssh2 and ssh2 extension to be 32 bits.

http://www.libssh2.org/download/libssh2-1.2.8.tar.gz
user:compile$ tar -xf libssh2-1.2.1.tar
user:compile$ cd libssh2-1.2.1
user:libssh2-1.2.1$ ./configure CC=\&quot;gcc -arch i386\&quot; CXX=\&quot;g++ -arch i386\&quot; CFLAGS=\&quot;-O -arch i386\&quot; CPPFLAGS=\&quot;-O -arch i386\&quot; LDFLAGS=\&quot;-arch i386\&quot;
user:libssh2-1.2.1$ make
user:libssh2-1.2.1$ sudo make install
Password:


http://pecl.php.net/package/ssh2
user:compile$ tar -xf ssh2-0.11.0.tar
user:compile$ cd ssh2-0.11.0
user:ssh2-0.11.0$ phpize
user:ssh2-0.11.0$ ./configure --with-ssh2  CC=\&quot;gcc -arch i386\&quot; CXX=\&quot;g++ -arch i386\&quot; CFLAGS=\&quot;-O -arch i386\&quot; CPPFLAGS=\&quot;-O -arch i386\&quot; LDFLAGS=\&quot;-arch i386\&quot;
user:ssh2-0.11.0$ make</description>
		<content:encoded><![CDATA[<p>In order to make it work for me I had to force both the install of libssh2 and ssh2 extension to be 32 bits.</p>
<p><a href="http://www.libssh2.org/download/libssh2-1.2.8.tar.gz" rel="nofollow">http://www.libssh2.org/download/libssh2-1.2.8.tar.gz</a><br />
user:compile$ tar -xf libssh2-1.2.1.tar<br />
user:compile$ cd libssh2-1.2.1<br />
user:libssh2-1.2.1$ ./configure CC=\&quot;gcc -arch i386\&quot; CXX=\&quot;g++ -arch i386\&quot; CFLAGS=\&quot;-O -arch i386\&quot; CPPFLAGS=\&quot;-O -arch i386\&quot; LDFLAGS=\&quot;-arch i386\&quot;<br />
user:libssh2-1.2.1$ make<br />
user:libssh2-1.2.1$ sudo make install<br />
Password:</p>
<p><a href="http://pecl.php.net/package/ssh2" rel="nofollow">http://pecl.php.net/package/ssh2</a><br />
user:compile$ tar -xf ssh2-0.11.0.tar<br />
user:compile$ cd ssh2-0.11.0<br />
user:ssh2-0.11.0$ phpize<br />
user:ssh2-0.11.0$ ./configure &#8211;with-ssh2  CC=\&quot;gcc -arch i386\&quot; CXX=\&quot;g++ -arch i386\&quot; CFLAGS=\&quot;-O -arch i386\&quot; CPPFLAGS=\&quot;-O -arch i386\&quot; LDFLAGS=\&quot;-arch i386\&quot;<br />
user:ssh2-0.11.0$ make</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh GIlmour</title>
		<link>http://www.microshell.com/sysadmin/macosx/adding-support-for-ssh2-on-mamp/comment-page-1/#comment-5991</link>
		<dc:creator>Josh GIlmour</dc:creator>
		<pubDate>Wed, 01 Dec 2010 00:18:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.microshell.com/?p=2020#comment-5991</guid>
		<description>Nice article, although it looks like you need libssh anyways. 

I tried just importing the .so file with MAMP (php 5.3 didnt work with it, so I had to use 5.2) and apache wouldn&#039;t start... saw the following errors in apache_error_log:
dyld: NSLinkModule() error
dyld: Library not loaded: /usr/local/lib/libssh2.1.dylib
  Referenced from: /Applications/MAMP/bin/php5.2/lib/php/extensions/no-debug-non-zts-20060613/ssh2.so
  Reason: image not found

* insert sad face here *</description>
		<content:encoded><![CDATA[<p>Nice article, although it looks like you need libssh anyways. </p>
<p>I tried just importing the .so file with MAMP (php 5.3 didnt work with it, so I had to use 5.2) and apache wouldn&#8217;t start&#8230; saw the following errors in apache_error_log:<br />
dyld: NSLinkModule() error<br />
dyld: Library not loaded: /usr/local/lib/libssh2.1.dylib<br />
  Referenced from: /Applications/MAMP/bin/php5.2/lib/php/extensions/no-debug-non-zts-20060613/ssh2.so<br />
  Reason: image not found</p>
<p>* insert sad face here *</p>
]]></content:encoded>
	</item>
</channel>
</rss>

