You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Jonathan Pickard <ma...@antigates.com> on 1999/01/11 14:22:37 UTC

os-freebsd/3641: DSO's fail to load w/ missing symbols

>Number:         3641
>Category:       os-freebsd
>Synopsis:       DSO's fail to load w/ missing symbols
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Jan 11 05:30:01 PST 1999
>Last-Modified:
>Originator:     marxmarv@antigates.com
>Organization:
apache
>Release:        1.3.3
>Environment:
FreeBSD hotdog.antigates.com 3.0-RELEASE FreeBSD 3.0-RELEASE #31: Thu Oct 22 18:21:48 PDT 1998     marxmarv@hotdog.antigates.com:/usr/src/sys/compile/HOTDOG  i386
gcc version 2.7.2.1
GNU ld version 2.9.1 (with BFD 2.9.1)
>Description:
Syntax error on line 26 of /usr/local/apache/etc/httpd.conf:
Cannot load /usr/local/apache/libexec/mod_env.so into server: /usr/local/apache/libexec/mod_env.so: Undefined symbol "ap_palloc"
/usr/local/bin/apachectl start: httpd could not be started
>How-To-Repeat:
./configure --enable-module=most --enable-shared=max
make
make install
$HTTPD_ROOT/sbin/apachectl start
>Fix:
--- orig/apache_1.3.3/src/Configure     Wed Oct  7 02:19:30 1998
+++ apache_1.3.3/src/Configure  Mon Jan 11 05:04:28 1999
@@ -901,6 +901,12 @@
             LDFLAGS_SHLIB_EXPORT="-rdynamic"
             SHLIB_SUFFIX_DEPTH=0
             ;;
+        *-freebsd3*)
+            CFLAGS_SHLIB="-fpic"
+            LDFLAGS_SHLIB="-Bshareable"
+            LDFLAGS_SHLIB_EXPORT="-rdynamic"
+            SHLIB_SUFFIX_DEPTH=2
+            ;;
         *-freebsd*)
             CFLAGS_SHLIB="-fpic"
             LDFLAGS_SHLIB="-Bshareable"
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]