# Stuck installing ruby-fcgi on Linux

**URL:** <https://rubytalk.org/t/stuck-installing-ruby-fcgi-on-linux/23656>\
**Category:** ruby-talk\
**Created:** [28 December 2005 20:17 UTC](https://rubytalk.org/t/stuck-installing-ruby-fcgi-on-linux/23656 "2005-12-28T20:17:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Morten1](https://avatars.discourse-cdn.com/v4/letter/m/85f322/32.png) [@Morten1](https://rubytalk.org/u/Morten1)\
**Post date:** [28 December 2005 20:17 UTC](https://rubytalk.org/t/stuck-installing-ruby-fcgi-on-linux/23656/1 "2005-12-28T20:17:53Z")

</div>

Hi.

I've installed fcgi 2.4.0 on a CentOS 4.2 box without problems using:

[root@machine fcgi-2.4.0]# ./configure --prefix=/usr --exec-prefix=/usr  
&& make && make install

When I try to install ruby-fcgi bindings I get the following:

[root@machine ruby-fcgi-0.8.6]# ruby install.rb config --  
--with-fcgi-lib=/usr/lib/ --with-fcgi-include=/usr/include/  
install.rb: entering config phase...  
---\> lib  
\<--- lib  
---\> ext  
---\> ext/fcgi  
/usr/bin/ruby /root/install/ruby-fcgi-0.8.6/ext/fcgi/extconf.rb  
--with-fcgi-lib=/usr/lib/ --with-fcgi-include=/usr/include/  
checking for fcgiapp.h... yes  
checking for FCGX\_Accept() in -lfcgi... no  
\<--- ext/fcgi  
\<--- ext  
install.rb: config done.

For some reason, the ruby-fcgi picks up the header file alright, but  
not the lib dir. Any hints on why are greatly appreciated as I'm quite  
stuck here.

Br,

Morten
