# Undefined symbol: rb\_defout when loading mod\_ruby

**URL:** <https://rubytalk.org/t/undefined-symbol-rb-defout-when-loading-mod-ruby/11226>\
**Category:** ruby-talk\
**Created:** [26 April 2004 03:23 UTC](https://rubytalk.org/t/undefined-symbol-rb-defout-when-loading-mod-ruby/11226 "2004-04-26T03:23:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tim\_Bates](https://avatars.discourse-cdn.com/v4/letter/t/3da27b/32.png) [@Tim\_Bates](https://rubytalk.org/u/Tim_Bates)\
**Post date:** [26 April 2004 03:23 UTC](https://rubytalk.org/t/undefined-symbol-rb-defout-when-loading-mod-ruby/11226/1 "2004-04-26T03:23:54Z")

</div>

Hi all,  
When I try to start Apache (1.3.29 on Linux) with the mod\_ruby (1.1.3) module, I get the following:

Syntax error on line 60 of /etc/apache/conf/apache.conf:  
Cannot load /etc/apache/extramodules/mod\_ruby.so into server: etc/apache/extramodules/mod\_ruby.so: undefined symbol: rb\_defout

I know I've seen this before, but I can't remember what I did to fix it. Can anyone enlighten me?

Tim.

> **···**
>
> --  
> Tim Bates  
> [tim@bates.id.au](mailto:tim@bates.id.au)

---

<div class="post-metadata">

**Author:** ![ts1](https://avatars.discourse-cdn.com/v4/letter/t/a8b319/32.png) [@ts1](https://rubytalk.org/u/ts1)\
**Post date:** [26 April 2004 09:47 UTC](https://rubytalk.org/t/undefined-symbol-rb-defout-when-loading-mod-ruby/11226/2 "2004-04-26T09:47:25Z")

</div>

> Syntax error on line 60 of /etc/apache/conf/apache.conf:  
> Cannot load /etc/apache/extramodules/mod\_ruby.so into server:  
> etc/apache/extramodules/mod\_ruby.so: undefined symbol: rb\_defout

Well, one possibility : It's compiled with 1.6.8 but run by 1.8.1, no ?

Guy Decoux
