From jdp@austin.polstra.com  Sun Oct 11 11:43:53 1998
Received: from austin.polstra.com (austin.polstra.com [206.213.73.10])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA23196;
          Sun, 11 Oct 1998 11:43:52 -0700 (PDT)
          (envelope-from jdp@austin.polstra.com)
Received: from austin.polstra.com (jdp@localhost)
	by austin.polstra.com (8.8.8/8.8.8) with ESMTP id LAA22501;
	Sun, 11 Oct 1998 11:42:44 -0700 (PDT)
	(envelope-from jdp)
Message-Id: <199810111842.LAA22501@austin.polstra.com>
Date: Sun, 11 Oct 1998 11:42:43 -0700
From: John Polstra <jdp@polstra.com>
To: Dirk Froemberg <ibex@physik.TU-Berlin.DE>
Cc: FreeBSD-gnats-submit@freebsd.org, ache@freebsd.org, rse@freebsd.org,
        jseger@freebsd.org
In-Reply-To: Your message of "Sun, 11 Oct 1998 20:25:34 +0200."
    <199810111825.UAA22998@emmi.physik.TU-Berlin.DE> 
Subject: Re: apache13 does not run under ELF 

>Number:         8268
>Category:       ports
>Synopsis:       Re: apache13 does not run under ELF
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 11 11:50:00 PDT 1998
>Closed-Date:    Mon Oct 12 16:20:20 PDT 1998
>Last-Modified:  Wed Oct 26 05:37:44 GMT 2005
>Originator:     
>Release:        
>Organization:
>Environment:
>Description:
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Mon Oct 12 16:20:20 PDT 1998 
State-Changed-Why:  
Intended as a reply to ports/8267. 
>Unformatted:
> Cannot load /export/tut/ibex/src/ports/www/apache13/foo/libexec/apache/mod_mime_magic.so into server: /export/tut/ibex/src/ports/www/apache13/foo/libexec/apache/mod_mime_magic.so: Undefined symbol "ap_make_sub_pool"

Where is that symbol actually defined?  Is it in the main executable?
(Use nm on the unstripped executable to find out.)  If that's it, then
the fix is to add "-E" or "--export-dynamic" to the linker options
when linking the executable.  E.g.,:

    LDFLAGS+=	-Wl,-E

or some such equivalent thing.

John
--
   John Polstra                                       jdp@polstra.com
   John D. Polstra & Co., Inc.                Seattle, Washington USA
   "Self-knowledge is always bad news."                 -- John Barth
