Hi,<br><br>Can you run 'scons configure' and email the output to me? It's fairly easy to make the required change, I just need to know how to determine whether it is being built on BSD on not.<br><br>Cheers,<br>Andrew<br><br>
<br><div><span class="gmail_quote">On 8/31/06, <b class="gmail_sendername">David Frech</b> &lt;<a href="mailto:lambda@nimblemachines.com">lambda@nimblemachines.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Further to this, this is true of all the BSDs. I checked the online<br>man page interface at<br><br><a href="http://www.freebsd.org/cgi/man.cgi">http://www.freebsd.org/cgi/man.cgi</a><br><br>for NetBSD and OpenBSD as well, and looked for &quot;dlopen&quot;.
<br><br>(Hmm. I didn't check DragonflyBSD. Not sure how to do this online. But<br>since it was initially a close relative of FreeBSD, I would wager that<br>it won't have a separate libdl either.)<br><br>HTH.<br><br>- David
<br><br>On 8/30/06, David Frech &lt;<a href="mailto:lambda@nimblemachines.com">lambda@nimblemachines.com</a>&gt; wrote:<br>&gt; latest error:<br>&gt;<br>&gt;<br>&gt; gcc -o inst/bin/yhi src/runtime/BCKernel/process.o<br>&gt; src/runtime/BCKernel/external.o src/runtime/BCKernel/hashtable.o
<br>&gt; src/runtime/BCKernel/heap.o src/runtime/BCKernel/hsffi.o<br>&gt; src/runtime/BCKernel/info.o src/runtime/BCKernel/integer.o<br>&gt; src/runtime/BCKernel/iofuncs.o src/runtime/BCKernel/jonkers.o<br>&gt; src/runtime/BCKernel/main.o src/runtime/BCKernel/make.o
<br>&gt; src/runtime/BCKernel/mark.o src/runtime/BCKernel/module.o<br>&gt; src/runtime/BCKernel/mutator.o src/runtime/BCKernel/primitive.o<br>&gt; src/runtime/BCKernel/pretty.o src/runtime/BCKernel/sanity.o<br>&gt; src/runtime/BCKernel/stopcopy.o src/runtime/BCKernel/profile.o
<br>&gt; src/runtime/BCKernel/foreign.o src/runtime/BCKernel/thread.o<br>&gt; src/runtime/BCKernel/stable.o src/runtime/BCKernel/builtin/Array.o<br>&gt; src/runtime/BCKernel/builtin/FFI.o src/runtime/BCKernel/builtin/IO.o
<br>&gt; src/runtime/BCKernel/builtin/Prelude.o<br>&gt; src/runtime/BCKernel/builtin/Concurrent.o<br>&gt; src/runtime/BCKernel/builtin/PackedString.o<br>&gt; src/runtime/BCKernel/builtin/RuntimeAPI.o<br>&gt; src/runtime/BCKernel/builtin/System.o
<br>&gt; depends/ctypes/libffi/src/prep_cif.o<br>&gt; depends/ctypes/libffi/src/cfield.o depends/ctypes/libffi/src/x86/ffi.o<br>&gt; depends/ctypes/libffi/src/x86/sysv.o -L/usr/local/lib -lgmp -ldl -lm<br>&gt; -lpthread<br>
&gt; /usr/bin/ld: cannot find -ldl<br>&gt; scons: *** [inst/bin/yhi] Error 1<br>&gt; scons: building terminated because of errors.<br>&gt;<br>&gt; The issue, I think, is that, unlike on Linux, the dl* functions are in<br>
&gt; libc, not libdl.<br>&gt;<br>&gt; - David<br>&gt;<br>&gt; --<br>&gt; The reasonable man adapts himself to the world; the unreasonable one<br>&gt; persists in trying to adapt the world to himself. Therefore all<br>&gt; progress depends on the unreasonable man. -- George Bernard Shaw
<br>&gt;<br><br><br>--<br>The reasonable man adapts himself to the world; the unreasonable one<br>persists in trying to adapt the world to himself. Therefore all<br>progress depends on the unreasonable man. -- George Bernard Shaw
<br>_______________________________________________<br>Yhc mailing list<br><a href="mailto:Yhc@haskell.org">Yhc@haskell.org</a><br><a href="http://www.haskell.org/mailman/listinfo/yhc">http://www.haskell.org/mailman/listinfo/yhc
</a><br></blockquote></div><br>