<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Library not loaded &#8211; 编码无悔 /  Intent &amp; Focused</title>
	<atom:link href="https://www.codelast.com/tag/library-not-loaded/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.codelast.com</link>
	<description>最优化之路</description>
	<lastBuildDate>Fri, 19 Jan 2024 19:42:17 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>[原创] MacOS的ssh命令报错：Library not loaded: /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib</title>
		<link>https://www.codelast.com/%e5%8e%9f%e5%88%9b-macos%e7%9a%84ssh%e5%91%bd%e4%bb%a4%e6%8a%a5%e9%94%99%ef%bc%9alibrary-not-loaded-usr-local-opt-openssl-lib-libcrypto-1-0-0-dylib/</link>
					<comments>https://www.codelast.com/%e5%8e%9f%e5%88%9b-macos%e7%9a%84ssh%e5%91%bd%e4%bb%a4%e6%8a%a5%e9%94%99%ef%bc%9alibrary-not-loaded-usr-local-opt-openssl-lib-libcrypto-1-0-0-dylib/#respond</comments>
		
		<dc:creator><![CDATA[learnhard]]></dc:creator>
		<pubDate>Fri, 19 Jan 2024 19:42:17 +0000</pubDate>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Library not loaded]]></category>
		<category><![CDATA[MacOS]]></category>
		<category><![CDATA[OpenSSH]]></category>
		<category><![CDATA[openssl]]></category>
		<category><![CDATA[ssh]]></category>
		<guid isPermaLink="false">https://www.codelast.com/?p=14021</guid>

					<description><![CDATA[<p>MacOS执行一个连接远程服务器的命令 <span style="color:#b22222;">ssh root@192.168.10.78 &#34;mkdir -p /data&#34;</span> 命令时，报错：</p>
<blockquote>
<div>
		dyld[52840]: Library not loaded: /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib</div>
<div>
		&#160; Referenced from: &#60;此处内容省略&#62; /usr/local/Cellar/openssh/7.8p1/bin/ssh</div>
<div>
		&#160; Reason: tried: &#39;/usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib&#39; (no such file), &#39;/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib&#39; (no such file), &#39;/usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib&#39; (no such file), &#39;/usr/local/lib/libcrypto.1.0.0.dylib&#39; (no such file), &#39;/usr/lib/libcrypto.1.0.0.dylib&#39; (no such file, not in dyld cache), &#39;/usr/local/Cellar/openssl@3/3.2.0_1/lib/libcrypto.1.0.0.dylib&#39;</div></blockquote>&#8230; <a href="https://www.codelast.com/%e5%8e%9f%e5%88%9b-macos%e7%9a%84ssh%e5%91%bd%e4%bb%a4%e6%8a%a5%e9%94%99%ef%bc%9alibrary-not-loaded-usr-local-opt-openssl-lib-libcrypto-1-0-0-dylib/" class="read-more">Read More </a>]]></description>
										<content:encoded><![CDATA[<p>MacOS执行一个连接远程服务器的命令 <span style="color:#b22222;">ssh root@192.168.10.78 &quot;mkdir -p /data&quot;</span> 命令时，报错：</p>
<blockquote>
<div>
		dyld[52840]: Library not loaded: /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib</div>
<div>
		&nbsp; Referenced from: &lt;此处内容省略&gt; /usr/local/Cellar/openssh/7.8p1/bin/ssh</div>
<div>
		&nbsp; Reason: tried: &#39;/usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib&#39; (no such file), &#39;/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib&#39; (no such file), &#39;/usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib&#39; (no such file), &#39;/usr/local/lib/libcrypto.1.0.0.dylib&#39; (no such file), &#39;/usr/lib/libcrypto.1.0.0.dylib&#39; (no such file, not in dyld cache), &#39;/usr/local/Cellar/openssl@3/3.2.0_1/lib/libcrypto.1.0.0.dylib&#39; (no such file), &#39;/System/Volumes/Preboot/Cryptexes/OS/usr/local/Cellar/openssl@3/3.2.0_1/lib/libcrypto.1.0.0.dylib&#39; (no such file), &#39;/usr/local/Cellar/openssl@3/3.2.0_1/lib/libcrypto.1.0.0.dylib&#39; (no such file), &#39;/usr/local/lib/libcrypto.1.0.0.dylib&#39; (no such file), &#39;/usr/lib/libcrypto.1.0.0.dylib&#39; (no such file, not in dyld cache)</div>
</blockquote>
<div>
	这个问题可能是因为<span style="color:#0000ff;">OpenSSH</span>版本旧导致的。可以尝试更新<span style="color:#0000ff;">OpenSSH</span>来解决：</p>
<section class="output_wrapper" id="output_wrapper_id" style="font-size: 16px; color: rgb(62, 62, 62); line-height: 1.6; letter-spacing: 0px; font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;">
<pre style="font-size: inherit; color: inherit; line-height: inherit; margin-top: 0px; margin-bottom: 0px; padding: 0px;">
<code class="bash language-bash hljs" style="margin: 0px 2px; line-height: 18px; font-size: 14px; letter-spacing: 0px; font-family: Consolas, Inconsolata, Courier, monospace; border-radius: 0px; color: rgb(169, 183, 198); background: rgb(40, 43, 46); padding: 0.5em; overflow-wrap: normal !important; word-break: normal !important; overflow: auto !important; display: -webkit-box !important;">brew&nbsp;update
brew&nbsp;upgrade&nbsp;openssh
</code></pre>
</section>
<p>重试，如果仍然报错，可能要尝试重新安装OpenSSH了：</p>
<section class="output_wrapper" id="output_wrapper_id" style="font-size: 16px; color: rgb(62, 62, 62); line-height: 1.6; letter-spacing: 0px; font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;">
<pre style="font-size: inherit; color: inherit; line-height: inherit; margin-top: 0px; margin-bottom: 0px; padding: 0px;">
<code class="bash language-bash hljs" style="margin: 0px 2px; line-height: 18px; font-size: 14px; letter-spacing: 0px; font-family: Consolas, Inconsolata, Courier, monospace; border-radius: 0px; color: rgb(169, 183, 198); background: rgb(40, 43, 46); padding: 0.5em; overflow-wrap: normal !important; word-break: normal !important; overflow: auto !important; display: -webkit-box !important;">brew&nbsp;uninstall&nbsp;--ignore-dependencies&nbsp;openssh
brew&nbsp;install&nbsp;openssh
</code></pre>
</section>
<p>
	<span style="color: rgb(255, 255, 255);">文章来源：</span><a href="https://www.codelast.com/" rel="noopener noreferrer" target="_blank"><span style="color: rgb(255, 255, 255);">https://www.codelast.com/</span></a><br />
	<span style="color: rgb(255, 0, 0);">➤➤</span>&nbsp;版权声明&nbsp;<span style="color: rgb(255, 0, 0);">➤➤</span>&nbsp;<br />
	转载需注明出处：<u><a href="https://www.codelast.com/" rel="noopener noreferrer" target="_blank"><em><span style="color: rgb(0, 0, 255);"><strong style="font-size: 16px;"><span style="font-family: arial, helvetica, sans-serif;">codelast.com</span></strong></span></em></a></u>&nbsp;<br />
	感谢关注我的微信公众号（微信扫一扫）：<br />
	<img decoding="async" alt="wechat qrcode of codelast" src="https://www.codelast.com/codelast_wechat_qr_code.jpg" style="color: rgb(77, 77, 77); font-size: 13px; width: 200px; height: 200px;" /><br />
	以及我的微信视频号：</p>
<p style="border: 0px; font-size: 13px; margin: 0px 0px 9px; outline: 0px; padding: 0px; color: rgb(77, 77, 77);">
		<img decoding="async" alt="" src="https://www.codelast.com/wechat_shipinhao_qr_code.jpg" style="text-align: center; width: 200px; height: 199px;" /></p>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.codelast.com/%e5%8e%9f%e5%88%9b-macos%e7%9a%84ssh%e5%91%bd%e4%bb%a4%e6%8a%a5%e9%94%99%ef%bc%9alibrary-not-loaded-usr-local-opt-openssl-lib-libcrypto-1-0-0-dylib/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
