Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: OpenBSD dl configure test ld flags



> This is interesting.  It indicates that, despite finding dlopen() et al,
> the configure process failed to actually perform a dynamic loading and
> symbol lookup.  Can you diagnise it further?

I get the same thing under OpenBSD 2.2.  This seems to help:


Index: configure.in
===================================================================
RCS file: /cvsroot/zsh/zsh/configure.in,v
retrieving revision 1.5
diff -u -r1.5 configure.in
--- configure.in	2000/04/13 23:11:54	1.5
+++ configure.in	2000/04/15 14:01:46
@@ -1485,6 +1485,7 @@
     netbsd*)      DLLDFLAGS="${DLLDFLAGS=${DLLDARG}-x -shared --whole-archive}" ;;
     aix*)         DLLDFLAGS="${DLLDFLAGS=-G -bexpall -lc}" ;;
     solaris*|sysv4*|esix*) DLLDFLAGS="${DLLDFLAGS=-G}" ;;
+    openbsd*)     DLLDFLAGS="${DLLDFLAGS=-Bshareable}" ;;
   esac
   case "$host" in
     *-hpux*)  EXTRA_LDFLAGS="${EXTRA_LDFLAGS=-Wl,-E}" ;;



Messages sorted by: Reverse Date, Date, Thread, Author