Closed GoogleCodeExporter closed 9 years ago
Sorry, inelegant patch, this is better:
Index: Makefile
===================================================================
--- Makefile (revision 484)
+++ Makefile (working copy)
@@ -136,7 +136,7 @@
ASFLAGS = --64
SRCS += ffi_stub_freebsd64.s
endif
- LDLIBS = -pthread
+ LDLIBS = -pthread -ldl
endif
ifneq (,$(findstring OpenBSD, $(UNAME)))
Original comment by dmoer...@gmail.com
on 2 Jun 2009 at 4:32
Thank you for your message. :-)
I have updated Makefile and trunk directory updated to revision 486.
Please try. Thank you!
-- fujita
Original comment by y.fujita...@gmail.com
on 2 Jun 2009 at 1:43
Just to clear this up, on FreeBSD the missing `dlsym' is actually a part of
libc.
Original comment by vmage...@gmail.com
on 2 Jun 2009 at 2:20
In addition, libdl is also part of libc on Linux, so there wasn't a reason for
-ldl
to be absent from FreeBSD but present in Linux.
Original comment by dmoer...@gmail.com
on 3 Jun 2009 at 2:22
What I meant was `dlopen' and `dlsym' are part of -lc,
there is actually no separate -ldl on FreeBSD.
In short, revision 486 does the right thing for everyone.
Original comment by vmage...@gmail.com
on 3 Jun 2009 at 9:02
Original issue reported on code.google.com by
dmoer...@gmail.com
on 2 Jun 2009 at 4:23