DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14189>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14189
configure decision for dlopen() library fails under ReliantUNIX
trawick@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|Build |APR
Product|Apache httpd-2.0 |APR
Version|2.0.43 |HEAD
------- Additional Comments From trawick@apache.org 2002-11-05 11:48 -------
Yes, this is weird!
Please try the patch below.
By the way, I'm changing the product to "APR" since that is the package
which handles most of these system-dependent issues for Apache.
Index: srclib/apr/configure.in
===================================================================
RCS file: /home/cvs/apr/configure.in,v
retrieving revision 1.495
diff -u -r1.495 configure.in
--- srclib/apr/configure.in 24 Oct 2002 00:09:35 -0000 1.495
+++ srclib/apr/configure.in 5 Nov 2002 11:45:34 -0000
@@ -1283,6 +1283,17 @@
AC_CHECK_LIB(dl, dlopen, [ tempdso="dlfcn" APR_ADDTO(LIBS,-ldl) ],
tempdso="no")
fi
+ if test "$tempdso" = "dlfcn"; then
+ # ReliantUnix has dlopen() in libc but dlsym() in libdl :(
+ AC_CHECK_FUNCS(dlsym, [ tempdso="dlfcn" ], [ tempdso="no" ])
+ if test "$tempdso" = "no"; then
+ AC_CHECK_LIB(dl, dlsym, [ tempdso="dlfcn" APR_ADDTO(LIBS, -ldl) ],
+ tempdso="no")
+ fi
+ if test "$tempdso" = "no"; then
+ echo "Weird: dlopen() was found but dlsym() was not found!"
+ fi
+ fi
if test "$tempdso" = "no"; then
AC_CHECK_LIB(root, load_image, tempdso="yes", tempdso="no")
fi
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
|