# Ruby.h, intern.h, library.so and installing Ruby 1.9

**URL:** <https://www.ruby-forum.com/t/ruby-h-intern-h-library-so-and-installing-ruby-1-9/115597>\
**Category:** Ruby\
**Created:** [September 26, 2007, 6:30pm UTC](https://www.ruby-forum.com/t/ruby-h-intern-h-library-so-and-installing-ruby-1-9/115597 "2007-09-26T18:30:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tirengarfio](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/91b2a8/32.png) [@tirengarfio](https://www.ruby-forum.com/u/tirengarfio)\
**Post date:** [September 26, 2007, 6:30pm UTC](https://www.ruby-forum.com/t/ruby-h-intern-h-library-so-and-installing-ruby-1-9/115597/1 "2007-09-26T18:30:02Z")

</div>

Hi,

im trying to install a library called Dridflow. The instructions to  
install this library says:

"Required Software:

```
* 1 : Ruby 1.9 2005 (make sure you have the *.so and *.h files)

```

Make sure it contains ruby.h and intern.h and related files. It’s also  
recommended to have libruby.so. Those extra files may be in a package  
called ruby-dev if you are using RPM or DEB/FINK"

So i have installed ruby in this way:

sudo apt-get install ruby1.9  
sudo apt-get install ruby1.9-dev

But now i have searched the files the instructions says i should have  
(ruby.h, intern.h and libruby.so) and there are not at my system. How  
can i get those files?

UbuntuStudio 7.04/ Intel Core Duo

br.  
GARFF

---

<div class="post-metadata">

**Author:** ![tirengarfio](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/91b2a8/32.png) [@tirengarfio](https://www.ruby-forum.com/u/tirengarfio)\
**Post date:** [September 26, 2007, 6:40pm UTC](https://www.ruby-forum.com/t/ruby-h-intern-h-library-so-and-installing-ruby-1-9/115597/2 "2007-09-26T18:40:12Z")

</div>

> sudo apt-get install ruby1.9  
> sudo apt-get install ruby1.9-dev
> 
> But now i have searched the files the instructions says i should have  
> (ruby.h, intern.h and libruby.so) and there are not at my system. How  
> can i get those files?

After installing ruby1.9-dev, you should definitely have those files.

Please ensure ruby1.9-dev is installed, then check:

/usr/lib/libruby1.9.so  
/usr/lib/ruby/1.9/_/intern.h  
/usr/lib/ruby/1.9/_/ruby.h

I’m using an amd64 install of Ubuntu 7.10, so I find the last two in  
/usr/lib/ruby/1.9/x86\_64-linux/; yours will vary.

HTH!

Arlen

---

<div class="post-metadata">

**Author:** ![tirengarfio](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/91b2a8/32.png) [@tirengarfio](https://www.ruby-forum.com/u/tirengarfio)\
**Post date:** [September 26, 2007, 7:11pm UTC](https://www.ruby-forum.com/t/ruby-h-intern-h-library-so-and-installing-ruby-1-9/115597/3 "2007-09-26T19:11:55Z")

</div>

yes it’s true sorry…
