crypto and ssl modules under OSX

Sean Hinde sean.hinde@REDACTED
Thu Nov 18 23:59:10 CET 2004


I have submitted a patch for this more times than I care to remember.

In addition the correct mechanism is described in Erlang/OTPs very own 
README file.

Please try to get this right for OS X next time.

Sean

On 18 Nov 2004, at 11:34, Peter H|gfeldt wrote:

>
> Just remove the -R switch from the Makefile. In R10B the -R switch is
> not included for OSX (or is it called Darwin?).
>
> /Peter
>
>
> On Wed, 17 Nov 2004, Reto Kramer wrote:
>
>> 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