[erlang-questions] Crypto load failure

Paul Sullivan paul.sullivan@REDACTED
Mon Apr 25 17:03:56 CEST 2011


Since upgrading to R14B01, I have been unable to successfully load the 
crypto drv.

I get the following error on use:

The on_load function for module crypto returned {error,
{load_failed,
"Failed to load NIF library: 
'/opt/bcs/packages/erlang-R14/lib/erlang/lib/crypto-2.0.2/priv/lib/crypto.so: 
undefined symbol: enif_inspect_iolist_as_binary'"}}

Any ideas as to what the culprit may be here?

Thanks,

----

Build bits of interest below.

----

/opt/bcs/bin/gcc -c -o ../priv/obj/x86_64-unknown-linux-gnu/crypto.o 
-Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wdeclaration-after-statement -DUSE_THREADS -D_THREAD_SAFE -D_REENTRANT 
-DPOSIX_THREADS -D_POSIX_THREAD_SAFE_FUNCTIONS -g -O -fPIC 
-fno-strict-aliasing 
-I/opt/src/RPM/BUILD/otp_src_R14B01/erts/x86_64-unknown-linux-gnu 
-fno-tree-copyrename -I/opt/bcs/include -D_GNU_SOURCE -fPIC 
-I/opt/bcs/packages/openssl/include 
-I/opt/src/RPM/BUILD/otp_src_R14B01/erts/emulator/beam 
-I/opt/src/RPM/BUILD/otp_src_R14B01/erts/include 
-I/opt/src/RPM/BUILD/otp_src_R14B01/erts/include/x86_64-unknown-linux-gnu -I/opt/src/RPM/BUILD/otp_src_R14B01/erts/include/internal 
-I/opt/src/RPM/BUILD/otp_src_R14B01/erts/include/internal/x86_64-unknown-linux-gnu 
-I/opt/src/RPM/BUILD/otp_src_R14B01/erts/emulator/sys/unix crypto.c

/opt/bcs/bin/install -c -d ../priv/lib/x86_64-unknown-linux-gnu

/opt/bcs/bin/gcc -Xlinker -rpath -Xlinker /opt/bcs/lib -Xlinker 
-L/opt/bcs/lib -Xlinker -rpath -Xlinker /opt/bcs/lib64 -Xlinker 
-L/opt/bcs/lib64 -shared -Wl,-Bsymbolic -o 
../priv/lib/x86_64-unknown-linux-gnu/crypto.so 
../priv/obj/x86_64-unknown-linux-gnu/crypto.o 
-Wl,-R/opt/bcs/packages/openssl/lib -Wl,-R/opt/bcs/lib64 
-L/opt/bcs/packages/openssl/lib -lcrypto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110425/31840f9f/attachment.htm>


More information about the erlang-questions mailing list