# Importing tkextlib/tkimg

**URL:** <https://www.ruby-forum.com/t/importing-tkextlib-tkimg/233795>\
**Category:** Ruby\
**Created:** [January 12, 2015, 6:30pm UTC](https://www.ruby-forum.com/t/importing-tkextlib-tkimg/233795 "2015-01-12T18:30:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![addis\_a](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c4cdca/32.png) [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Post date:** [January 12, 2015, 6:30pm UTC](https://www.ruby-forum.com/t/importing-tkextlib-tkimg/233795/1 "2015-01-12T18:30:09Z")

</div>

Hi, I’ve been having trouble finding a way to import this library.  
I’ve tried what was said in the topic “RubyTk - tkimg fails to import?”,  
however none of those workarounds has worked for me.

I downloaded ActiveTcl and could not find a Img1.x folder. I tried  
copying individual img\_\* folders, but that did not work either. I  
deleted the files tk85.dll and tcl85.dll in the ruby bin folder, but it  
does not load ActiveTcl’s libs, and intead throws this error:

C:/Ruby193/lib/ruby/site\_ruby/1.9.1/rubygems/custom\_require.rb:36:in  
`require': 126: No se puede encontrar el m¾dulo especificado. - C:/Ruby193/lib/ruby/1.9.1/i386-mingw32/tcltklib.so (LoadError) from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in`require’  
from C:/Ruby193/lib/ruby/1.9.1/tk.rb:11:in `<top (required)>' from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in`require’  
from  
C:/Ruby193/lib/ruby/site\_ruby/1.9.1/rubygems/custom\_require.rb:36:in  
`require' from C:/Users/Reiswindy/Desktop/Sketch.rbw:1:in`’

I tried compiling the Tkimg source code as well, but I couldn’t find the  
required libraries to compile it either.

If anyone here can help with this I would be very grateful

---

<div class="post-metadata">

**Author:** ![ealdaz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/9dc877/32.png) [@ealdaz](https://www.ruby-forum.com/u/ealdaz)\
**Post date:** [January 12, 2015, 10:02pm UTC](https://www.ruby-forum.com/t/importing-tkextlib-tkimg/233795/2 "2015-01-12T22:02:58Z")

</div>

Hi,

> I downloaded ActiveTcl and could not find a Img1.x folder. I tried  
> copying individual img\_\* folders, but that did not work either.

Do you know, that “Img1.x” means, for example “Img1.4”?

You could try “everything” ([http://www.voidtools.com/](http://www.voidtools.com/)) in order to find  
it.

If you cannot find it, let me know your email address.

Regards,  
Axel

---

<div class="post-metadata">

**Author:** ![ealdaz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/9dc877/32.png) [@ealdaz](https://www.ruby-forum.com/u/ealdaz)\
**Post date:** [January 13, 2015, 11:35pm UTC](https://www.ruby-forum.com/t/importing-tkextlib-tkimg/233795/3 "2015-01-13T23:35:22Z")

</div>

Axel F. wrote in post #1166559:

> Do you know, that “Img1.x” means, for example “Img1.4”?
> 
> You could try “everything” ([http://www.voidtools.com/](http://www.voidtools.com/)) in order to find  
> it.

Yes, I did. “everything” could not find it either, there were no folders  
with that name (or similar). Only img\_\* folders where inside it.

I just fixed this by installing an older version of ActiveTcl (8.5.14)  
and deleting the ruby bin dlls. The newer ones available on the official  
website would not work for me that way for some reason.

Thanks for your help in any case.
