mod_fastcgi DSO with RedHat Enterprise Linux 3.0

|

So while playing with Ruby on Rails, I've been trying to get mod_fastcgi to work with my RHEL AS release 3 (Taroon Update 4) install. Lots of undefined reference to various apr_* calls, the whole apache runtime libs. I was using apxs just like I should have. The best hints I could find was "don't use apxs" and use the latest mod_fastcgi-SNAP (2.4.3) which has a sample Makefile.AP2 to get it to compile. Here is the key for the RedHat stock apache setup:

top_dir      = /usr/lib/httpd

This will point to the right apache .mk files so that you will get the proper libraries linked in. After that, it's all the same standard stuff. This tip for debian led me to my fix.

About this Entry

This page contains a single entry by Patrick published on March 20, 2005 9:24 AM.

Bad Dreams was the previous entry in this blog.

Doña Sol Cabernet Sauvingon is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Powered by Movable Type 4.01