Loading external drivers
Klacke
klacke@REDACTED
Sat Dec 11 00:25:41 CET 1999
On Sat, Dec 11, 1999 at 12:12:26AM +0500, svg@REDACTED wrote:
>
> I have founded that with standard installation procedure of Erlang R6B-0
> on my RH Linux 6.1 box, beam emulator was linked without `-rdynamic' flag.
> That is why it couldn't load dynamically external drivers from `crypto'
> and `runtime_tool' modules.
>
> After relinking with `-rdynamic' flag this problem was solved.
That is indeed correct.
I'll attach a patch for the rest of the user community to apply
/klacke
--
Claes Wikstrom <klacke@REDACTED>
Bluetail AB http://www.bluetail.com
-------------- next part --------------
Index: erts/emulator/Makefile.in
===================================================================
RCS file: /home/share/erlang/cvsroot/otp_r6b/erts/emulator/Makefile.in,v
retrieving revision 1.1.1.1
retrieving revision 1.4
diff -c -b -r1.1.1.1 -r1.4
*** Makefile.in 1999/11/25 13:53:52 1.1.1.1
--- Makefile.in 1999/12/01 13:05:01 1.4
***************
*** 63,70 ****
RANLIB = @RANLIB@
STRIP = strip
PERL = @PERL@
-
LIBS = @LIBS@ -L$(ERL_TOP)/erts/obj/$(TARGET) -lz
OBJDIR = $(ERL_TOP)/erts/obj$(TYPEMARKER).beam/$(TARGET)
--- 63,70 ----
RANLIB = @RANLIB@
STRIP = strip
PERL = @PERL@
+ DEXPORT = @DEXPORT@
LIBS = @LIBS@ -L$(ERL_TOP)/erts/obj/$(TARGET) -lz
OBJDIR = $(ERL_TOP)/erts/obj$(TYPEMARKER).beam/$(TARGET)
More information about the erlang-questions
mailing list