Hi,

In message "[ruby-talk:17048] Re: Problem running irb with Ruby 1.6.4 under FreeBSD 4.0"
    on 01/06/29, "Bob Alexander" <bobalex / home.com> writes:

|It looks like the problem I observed might be specific to my installation
|(although it *could* be a problem of older versions of FreeBSD). Because of
|your help in locating the problem, though, I was able to build a
|properly-working Ruby for it -- thanks!

Here's the patch for your problem.

--- dln.c	2001/05/30 23:35:05	1.15.2.7
+++ dln.c	2001/06/29 05:58:57
@@ -89,3 +89,3 @@
 #ifndef FUNCNAME_PATTERN
-# if defined(__hp9000s300) ||  (defined(__NetBSD__) && !defined(__ELF__)) || defined(__BORLANDC__) || (defined(__FreeBSD__) && __FreeBSD__ < 3) || defined(__OpenBSD__) || defined(NeXT) || defined(__WATCOMC__) || defined(__APPLE__)
+# if defined(__hp9000s300) ||  (defined(__NetBSD__) && !defined(__ELF__)) || defined(__BORLANDC__) || (defined(__FreeBSD__) && !defined(__ELF__)) || defined(__OpenBSD__) || defined(NeXT) || defined(__WATCOMC__) || defined(__APPLE__)
 #  define FUNCNAME_PATTERN "_Init_%.200s"