|
|
| Author |
Message |
|
| Guest |
Posted: Mon Mar 17, 2008 6:23 am |
|
|
|
Guest
|
When I configured erlang in the following way on Solaris:
$ ./configure --with-ssl=/usr/sfw/lib --enable-dynamic-ssl-lib
crypto_drv.so dones't include full pathname of libcrypto:
$ ldd ./lib/crypto/priv/lib/sparc-sun-solaris2.11/crypto_drv.so
libcrypto.so.0.9.8 => (file not found)
...
lib/crypto/c_src/Makefile.in does try to support this, but fails
due to a bug. The patch below fixes it.
Thanks,
rayx
--- otp_src_R12B-1/lib/crypto/c_src/Makefile.in.orig Sat Mar 15 22:03:03 2008
+++ otp_src_R12B-1/lib/crypto/c_src/Makefile.in Sat Mar 15 22:04:28 2008
@@ -79,6 +79,7 @@
ifeq ($(HOST_OS),)
HOST_OS := $(shell $(ERL_TOP)/erts/autoconf/config.guess)
endif
+DYNAMIC_CRYPTO_LIB=@SSL_DYNAMIC_ONLY@
LD_R_FLAG=@DED_LD_FLAG_RUNTIME_LIBRARY_PATH@
ifeq ($(strip $(LD_R_FLAG)),)
LD_R_OPT =
@@ -89,7 +90,6 @@
LD_R_OPT =
endif
endif
-DYNAMIC_CRYPTO_LIB=@SSL_DYNAMIC_ONLY@
ifeq ($(DYNAMIC_CRYPTO_LIB),yes)
CRYPTO_LINK_LIB=-L$(SSL_LIBDIR) -lcrypto
_______________________________________________
erlang-patches mailing list
erlang-patches@erlang.org
http://www.erlang.org/mailman/listinfo/erlang-patches
Post recived from mailinglist |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|