# Build Problem for wxruby

**URL:** <https://www.ruby-forum.com/t/build-problem-for-wxruby/191113>\
**Category:** wxRuby\
**Created:** [July 5, 2010, 8:28pm UTC](https://www.ruby-forum.com/t/build-problem-for-wxruby/191113 "2010-07-05T20:28:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wickie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/ba9def/32.png) [@wickie](https://www.ruby-forum.com/u/wickie)\
**Post date:** [July 5, 2010, 8:28pm UTC](https://www.ruby-forum.com/t/build-problem-for-wxruby/191113/1 "2010-07-05T20:28:10Z")

</div>

I’m running under PCLinuxOS. I can’t do a gem install for wxruby because  
PCLinuxOS doesn’t have the libwx\_gtk2u\_media-2.8.so.0 library available  
anywhere in the repositories. It has the 2.6 version of the library, but  
that doesn’t help me. This (I think) implies that I need to compile  
wxruby. When I run rake - after getting sources - I get the error:

No such file or directory - /usr/lib/wx/include/wx/setup.h

setup.h _IS_ on my system. In fact, two of them are. They are located as  
follows:

/usr/lib/wx/include/gtk2-unicode-release-2.8/wx  
–and–  
/usr/lib/wx/include/multiarch-i386-linux/gtk2-unicode-release-2.8/wx

Would someone be so kind as to offer some help? Thanks much.

—Michael

---

<div class="post-metadata">

**Author:** ![wickie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/ba9def/32.png) [@wickie](https://www.ruby-forum.com/u/wickie)\
**Post date:** [July 6, 2010, 6:23pm UTC](https://www.ruby-forum.com/t/build-problem-for-wxruby/191113/2 "2010-07-06T18:23:01Z")

</div>

I fixed this problem by adding a soft link to the directory containing  
setup.h
