---
title: "Debian5安装Thin时候出现no such file to load -- openssl"
author: "hot88zh"
date: "2011-04-19T22:38:35Z"
tags: ["Ruby"]
categories: ["编程语言"]
slug: "debian5-thin-no-such-file-to-load-openssl"
draft: false
lastmod: "2011-04-19T22:38:35Z"
id: 1008530
url: "https://hot88zh.iteye.com/blog/1008530"
---

今天在执行thin install的时候，出现no such file to load -- openssl

于是乎运行apt-get install openssl，一切都安装完毕，然后进到ruby的source里面重新编译openssl也无果。

 

网上查到解决方法，如下：

apt-get install libssl-dev，安装完成之后，再重新进到ruby的source里面编译openssl即可。

 

等到编译完成，再执行install命令就可以了