crypto and ssl modules under OSX
Reto Kramer
kramer@REDACTED
Wed Nov 17 22:20:40 CET 2004
I'm trying to build the R9C-2 ssl and crypto under OSX 10.3.4. Can some
BSD/Mac guru out there help me figure out how to change the ld switches
(under OSX, the R option of the -Wl switch is not available).
Thanks,
- Reto
from: otp_src_R9C-2/otp_src_R9C-2/lib/crypto/c_src/Makefile.in
$(LIBDIR)/crypto_drv.so: $(OBJS)
$(INSTALL_DIR) $(LIBDIR)
$(CC) $(LDFLAGS) -L$(SSL_LIBDIR) -Wl,-R$(SSL_LIBDIR) \
-o $@ $^ $(LDLIBS) -lcrypto
=== Entering application crypto
make[3]: Nothing to be done for `opt'.
make -f powerpc-apple-darwin7.5.0/Makefile TYPE=opt
/usr/bin/install -c -d ../priv/lib/powerpc-apple-darwin7.5.0
gcc -bundle -flat_namespace -undefined suppress -lbundle1.o -L/usr/lib
-Wl,-R/usr/lib \
-o ../priv/lib/powerpc-apple-darwin7.5.0/crypto_drv.so
../priv/obj/powerpc-apple-darwin7.5.0/crypto_drv.o -lcrypto
ld: unknown flag: -R/usr/lib
=== Skipping subdir doc/src, it is missing
=== Leaving application crypto
#
More information about the erlang-questions
mailing list